I proudly want to release my Python Notification System for Savage XR 1.0 servers! This system allows you to show automated custom notifications on your Savage XR 1.0 server. Here a preview to show you what I mean:
You can use it for any type of notification you'd like to. In this case I used it for showing tips for newbies. Other examples would be informations about new events such as NSL, NDC and so on...
The Python Notification System is easy to install on any Savage XR 1.0 server and can be customized easily. When you download my Python Notification System.zip archive the only thing you have to do is to extract it and move it into your Savage XR 1.0 server directory.
Files which are going to be installed on your server:
Savage XR 1.0 Server/game/PNS_Converter.jar
Savage XR 1.0 Server/game/notifications.cfg
Savage XR 1.0 Server/game/notifications.db
Savage XR 1.0 Server/python/savage1.zip
* The "Savage XR 1.0 Server" directory could have another name in your case but that's just fine.
The PNS_Converter.jar file is an executeable Java Application which allows you to edit your notifications. The notifications are saved in a SQLite database ("notifications.db"). To edit that database you have to use my Java Application ("PNS_Converter.jar") which converts the "notifications.db" file into a "notifications.xls" file. This file is a normal Excel file which can be edited by programs like "Microsoft Excel" or "OpenOffice Calc". Here is a preview how to use my Java Application ("PNS_Converter.jar") and how you can edit the Database in Excel:
First execute PNS_Converter.jar. Then drop the notifications.db file into my application.
As you can see, my program converted the notifications.db into a notifcations.xls file.
Now you can open and edit the notifications.xls file.https://dl.dropboxusercontent.com/u/7592224/savage/pns4.jpg
Remember the left column is for notification strings and the right column can either be 1 (for active) or 0 (for inactive).
When you're done editing, save your work. (Be sure you save as .xls file). Now you can convert the notifications.xls back to the notifications.db file. (The Python Nofitication System can only work with .db files)
As you can see, my program converted the notifications.xls back into a notifcations.db file.
You can even create several notification categories by creating several Excel sheets. The name of the sheet will be the notification prefix. In this case "Tip". By pressing the little "+" in Microsoft Excel or OpenOffice Calc you can create a new sheet. Just be sure to again use the left column for notification strings and the right column for the active status (1 for active and 0 for inactive)
You can edit the file "notifications.cfg" to set a custom time interval in which your notifications should be shown. Per default it's set to 300 seconds which would be 5 minutes. You have to put in seconds for the time value. Here is a preview how to edit the time interval:
Have fun with my little Savage XR python extension