Robbie Ferguson e5a4a397fb Remove a word
Word was setting off the swear filter?!
2016-11-28 09:53:40 -05:00
2016-06-29 09:26:51 -04:00
2015-07-09 11:44:19 +03:00
2016-06-29 10:35:47 -07:00
2016-06-24 11:13:47 -04:00
2016-11-28 09:53:40 -05:00
2015-06-26 14:04:11 +03:00
2016-06-29 09:33:33 -04:00

TPS Keyword Interact (Based on mt_keyword_interact by CWz aka ChaosWormz)

License: MIT

Description:

This mod automatically grants interact to player who enter a keyword in chat. Presumably they have "accepted the rules" or followed other steps laid out by the server admin before obtaining said keyword, which is provided to them by the tps_signs mod.

Supports tps_signs: if you use the two mods together, you can change your keyword (or let a cronjob do it for you) at any time and the sign will automatically change to the new keyword without having to restart or reconnect.

Supplements:

cron.sh (Linux) - Call this script from cron to automatically change the server's keyword from the list in keywords.txt Usage:

./cron.sh random   # generate a random keyword
./cron.sh keyword  # generate a random word selected from keywords.txt

For the keyword to work the nointeract privilege must be granted to players by default.

Old commands (many soon to be deprecated! Left for reference only ... for now):
/setkeyword [new keyword]
Required privs: server
Description: set a new keyword that will take effect after next restart.

/getkeyword
Description: Used to get the current keyword. this command is restricted to basic_privs and server

/send_spawn
Description: Used to send all player who do not have interact back to spawn.
Required privs: basic_privs

/yesinteract
Description: manually grant a player interact and do what the keyword does.
Required privs: basic_privs

Description
No description provided
Readme 124 KiB
Languages
Lua 88.2%
Shell 11.8%