- What permissions do you give others to modify and/or maintain your submission?
- Modify: ASK ME - Maintain: NO - Others must ask me for permission before modifying my submission or use it in their own work, and I reserve the right to say no for any reason. No, others may not maintain my submission, even in my absence.
This relic of a script now lives the day to see the light of the MB, being originally made for Tinge Of Chaos's server (courtesy of Twilight Prince) & used on Karts-R-Us (courtesy of Cyan & Bladesinger), but now is touched up enough that I feel like it could be shared to be used regardless of server intention!
When enabled, from that point on, it will add to the race counter if the map has been finished by at least one player. The default behaviour of the script is to print a chat message if a given player has exceeded 5 successful races. However, both the action and the max limit are configurable by administrators, former being able to be changed to an automatic kick, which will print a message to console before having the server perform the kick - at which point it is done can also be configured.
When enabled, from that point on, it will add to the race counter if the map has been finished by at least one player. The default behaviour of the script is to print a chat message if a given player has exceeded 5 successful races. However, both the action and the max limit are configurable by administrators, former being able to be changed to an automatic kick, which will print a message to console before having the server perform the kick - at which point it is done can also be configured.
RRLimitActive <0/1/off/on>
- administrator CVar, enables/disables actions by the script.RRLimitMax <1-9999>
- administrator CVar, sets the max course count.RRLimitAction <0/warn/1/kick>
- administrator CVar, sets the automatic action taken by RRLimiter.RRLimitKickWhen <0-4>
- administrator CVar, sets whenthe automatic action is taken.- 0 (vote) - on load of voting screen.
- 1 (inter) - on load of intermission screen.
- 2 (voteinter) - on load of voting and intermission screens.
- 3 (map) - always active in map. Not recommended.
- 4 (asap) - on load of voting & intermission screens, as well as always active in map.
rrlimit
- main command. Lists commands and variables.rrlimitcheck
- can be used by anyone, lists your own course count.rrlimitadmin
- administrative command, can be used to view or manipulate anyone's course count.- By itself, this command will list admin-specific information about the command.
rrlimitadmin view <name/node> <player name/node number>
- view a given player's course count.<name/node>
specifies target mode,name
meaning a nickname will be provided as an extra argument, whilstnode
will take a player node number as the extra argument.rrlimitadmin view name Sonic
will print the course count of a player with Sonic as their nickname. Recommended.- If a player has spaces in their nickname, wrap them in quotes - player with a I Pity You nickname should be passed to command as "I Pity You" -
rrlimitadmin view name "I Pity You"
- If a player has spaces in their nickname, wrap them in quotes - player with a I Pity You nickname should be passed to command as "I Pity You" -
rrlimitadmin view node 3
will print the course count listed as node 3 (usenodes
to determine desired player node).- However, doing
rrlimitadmin view all
will print everyone's course count in your console.
rrlimitadmin set <name/node> <player name/node number> <amount>
- set a given players' course count to<amount>
.rrlimitadmin set name Sonic 3
will print the course count of a player with Sonic as their nickname. Recommended.- If a player has spaces in their nickname, wrap them in quotes - player with a I Pity You nickname should be passed to command as "I Pity You".
rrlimitadmin set node 3 0
will set the course count of player on node 3 to 0 (usenodes
to determine desired player node).- If you set a players' course count to -1, the given player will not be parsed by the check. Useful if you want a given administrator or player to be
(hopefully)ignored by the script.
- If you set a players' course count to -1, the given player will not be parsed by the check. Useful if you want a given administrator or player to be
rrlimitadmin add <name/node> <player name/node number> <amount>
- add<amount>
to a given players' course count.- Follows the same structure as
rrlimitadmin set
. - If you want to subtract instead, pass a negative number as
<amount>
.
- Follows the same structure as
Special thanks to Tinge Of Chaos & Karts-R-Us (especially Bladesinger) for initial idea & testing, as well as extra testing by latter. Please provide feedback on how I can potentially improve the script - this script was written way before utilities were, so it's a lot more rough - your changes may become official. Once I am confident enough in it, this script will become Open Assets much like my utilities & NoClippy.