Nagware Plugin
Nagware Plugin
We've stopped using the revoke scriptand are now using the Nagware Plugin by menotume. This plugin sends a message to unregistered players every x minutes and optionally kicks them after y minutes. Its quite configurable and is working VERY well for us so far. Other popular servers are encouraged to use this plugin to help encourage registration and in turn discourage cheating, spamming, and childish behavior in general.
Please post any questions about using the plugin here.
Please post any questions about using the plugin here.
Last edited by SilverFox on Fri Jan 20, 2006 1:49 am, edited 1 time in total.
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
- RPG
- Lieutenant, Junior Grade
- Posts: 2015
- Joined: Fri Sep 17, 2004 2:37 am
- Location: Chicago, Illinois
- Contact:
All I had to do was change the name of one fucntion that was used 14 times. I didn't test it though, because I'm in a rush right now, but I did get it to build for Windows.
- Attachments
-
- nagware.zip
- Nageware for Windows
- (23.22 KiB) Downloaded 124 times
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
ok thats cool except it says it cant find the plugin when I know that the path is right and my server runs as it should if I run the server normally but if I add in your plugin line i get this error:
(I am using other plugins masterbot and trackplayhistory dont know if that makes a diffrence...)
(I am using other plugins masterbot and trackplayhistory dont know if that makes a diffrence...)
- Attachments
-
- BZFlagnagware.jpg
- this is the error
- (21.96 KiB) Downloaded 30 times
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
- ducatiwannabe
- Private First Class
- Posts: 3258
- Joined: Tue Aug 10, 2004 3:55 pm
- Location: Planet Earth
- Contact:
Okay: They are runtime librarys.
There you can download: http://www.dll-files.com/dllindex/dll-f ... l?msvcr71d, http://www.dll-files.com/dllindex/dll-f ... l?msvcp71d
It is msvcr71d.dll
I already changed the link.
EDIT2: The other dll is necessary, too
If you downloaded the file, just copy it to C:\windows\system32
There you can download: http://www.dll-files.com/dllindex/dll-f ... l?msvcr71d, http://www.dll-files.com/dllindex/dll-f ... l?msvcp71d
EDIT: IMPORTANT: I did a spelling mistake. it is not msvcp71d.dll.Q: How do I install the dll-file?
A: You need an unzip software in order to extract the dll-file from the zip-file you've downloaded. We recommend our users to use ExpressZIP.
Then use ExpressZIP to select the dll-file and extract it to your system directory. By default, this is C:\Windows\System (Windows 95/98/Me), C:\WINNT\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).
You may also put it in the directory of the program, that is asking for the file.
If putting it in the system directory isn't enough, you may need to use regsvr32 by the following way:
1. Press Start and select Run
2. Type CMD and press Enter
3. Type regsvr32 "filename".dll and press Enter
It is msvcr71d.dll
I already changed the link.
EDIT2: The other dll is necessary, too
If you downloaded the file, just copy it to C:\windows\system32
Last edited by JPT on Sat Jan 21, 2006 5:24 pm, edited 4 times in total.
- ducatiwannabe
- Private First Class
- Posts: 3258
- Joined: Tue Aug 10, 2004 3:55 pm
- Location: Planet Earth
- Contact:
In my log, i found this:
Is there something missing ? (e.g.: a config file)
I didn't see the plugin working....
2006-01-21 17:33:56: +++ nagware plugin command-line error.
2006-01-21 17:33:56: Command line args: PLUGINNAME,configname
2006-01-21 17:33:56: nagware plugin NOT loaded!
2006-01-21 17:33:56: Plugin:M:\bzflagstuff\plugins\nagware.dll loaded
2006-01-21 17:33:56: shockwaveDeath plugin loaded
2006-01-21 17:33:56: Plugin:M:\bzflag\shockwaveDeath.dll loaded
...
Is there something missing ? (e.g.: a config file)
- RPG
- Lieutenant, Junior Grade
- Posts: 2015
- Joined: Fri Sep 17, 2004 2:37 am
- Location: Chicago, Illinois
- Contact:
Yes, you must specify a config file. load it like this:
Here is the default config file you can tinker around with:
Code: Select all
-loadplugin /path/to/nagware,/path/to/config.cfg
Code: Select all
# Sample configuration file for the nagware plugin.
#
# permission tag to use to grant "/nag" command permissions
# defaults to "NAG" if not specified.
permname = say
# Apply logic to observers ? (yes/no)
# default is no
kickobs = yes
# minplayers: There must be this many players before anybody is
# kicked, but the warnings will still happen.
# default is 1
minplayers = 2
# messagesuffix: Message to be added to the end of all other defined messages.
messagesuffix = \nRegister at http://my.bzflag.org/bb/ and use your login in the bzflag connect screen.
# Message: Messages to be sent to players at specified times.
# Format is: TIME,[REPEAT] MESSAGE
# *) Time and repeat are in minutes, whole numbers only (0 is allowed)
# *) If repeat is specified, the message will be repeated every [REPEAT] minutes until the next
# message is applied (if any), or the player is kicked.
message = 1 This server requires global registration.
message = 2 Dieser Server erfordert globale Registrierung.\nCe serveur exige l'enregistrement global\nEste camarero requiere matrícula global
message = 3,1 You will be kicked from this server shortly, please register and come back!
message = 6,2 You are now marked to be kicked randomly.
# Same format as above, except 'repeat' is not used.
# If not defined, no players will be kicked.
kickmessage = 7 You have been kicked because you are not registered.
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
- ducatiwannabe
- Private First Class
- Posts: 3258
- Joined: Tue Aug 10, 2004 3:55 pm
- Location: Planet Earth
- Contact:
So let me get this straight...I click my shortcut to bzfs, go to properties, and then on the Target: line it should look like this
"C:\Program Files\BZFlag2.0.5b4\bzfs.exe" -loadplugin C:\Program Files\BZFlag2.0.5b4\msvcp71d.dll,\C:\Program Files\BZFlag2.0.5b4\dw2.conf
If not can somebody please PM me or tell me step by step how to get this working
"C:\Program Files\BZFlag2.0.5b4\bzfs.exe" -loadplugin C:\Program Files\BZFlag2.0.5b4\msvcp71d.dll,\C:\Program Files\BZFlag2.0.5b4\dw2.conf
If not can somebody please PM me or tell me step by step how to get this working