DIR Return Create A Forum - Home
---------------------------------------------------------
Clay Hanson Servers
HTML https://clayhansonservers.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Add-Ons
*****************************************************
#Post#: 4--------------------------------------------------
[v1.5] TDM Server Pack [Leveling Included]
DIR By: Clay Hanson
Date: February 18, 2015, 12:45 pm
---------------------------------------------------------
[center]
HTML http://www.makeathumbnail.com/thumbnails/image295526.png[/center]
[center]TDM Server Pack[/center]
[center]Clay Hanson[/center]
---------------------------------------------------------
I've developed a basic leveling system, with a bunch of
features. Took me 2 days to write this, and a lot of it was
trial and error.
Features
- Displays any player's level beside their names (In clanprefix)
- Includes a basic /help command.
- Includes a Vote kick command! (Super admins can toggle regular
players using this by saying /toggle 1)
- Includes a /level command! (Super admins can toggle regular
players using this by saying /toggle 2)
EVENTS
- ifLevel - Output - Allows you to check if the brick
activator's level is ==, >=, <=, !=, >, or <. It will then
either return ifLevelTrue or ifLevelFalse.
- ifLevelTrue - Input - This is returned when ifLevel's variable
is true.
- ifLevelFalse - Input - This is returned when ifLevel's
variable is false.
Commands
- /privlage - Admins+ - Shows the currently enabled/disabled
commands. (/level and /votekick)
- /help <#>- Public - Shows a basic help command.
- /save - Public - Saves the user's current level, experience,
and max experience.
- /load - Public - Loads the user's current level, experience,
and max experience.
- /setlevel <BLID> <LEVEL> <MAXEXP>- Super Admin Only - Set a
player's level and maxexp. /setlevel BLID LEVEL MAXEXP (EX.
/setlevel 15144 1 40)
- /level - Public (Can be disabled by SA) - Shows the player
his/her level.
- /toggle <ID>- Super Admin Only - Toggles the ID numbers from
/privlages
- /votekick <NAME>- Public (Can be disabled by SA) - Votekick
anyone except the Host from the server. /votekick "name" (ex.
/votekick "Clay Hanson")
- /yes - Public (Only available when vote is running) - Vote yes
for the votekick victim.
- /no - Public (Only available when vote is running) - Vote no
for the votekick victim.
- /stopvotekick - Super Admin Only (Only available when vote is
running) - Stops the running votekick. Upon saying it, it will
not do anything upon votekick end.
- /storeitem - Public - Select items.
- /info <BLID>- Public - Get's the info from the BLID's save
file.
- /toggleinfo - Public - Toggles whether or not you want the
/info command to work on your save file.
- NEW /afk - Public (Can be disabled by SA) - Makes the player
go AFK. (In this mode, if the player kills other players, the
player does not receive any points. And if any other player
kills this player, they do not receive points.)
- NEW /back - Public (Is disabled if /afk is disabled) - Makes
the player come back.
Credits
Scripters
- Clay Hanson
HTML http://forum.blockland.us/index.php?action=profile;u=139020
Beta Testers
- Google Glass
HTML http://forum.blockland.us/index.php?action=profile;u=136333
- Panpour5
- Clay Hanson
HTML http://forum.blockland.us/index.php?action=profile;u=139020
- WalkingKing
- Lost Soul
Script Helpers
- $trinick
HTML http://forum.blockland.us/index.php?action=profile;u=95619
- Ipquarx
HTML http://forum.blockland.us/index.php?action=profile;u=25399
- Greek2me
HTML http://forum.blockland.us/index.php?action=profile;u=22331
Bugs
- [V1.2] When you delete a save file, the system still
registers the save file, and attempts to load it. Upon loading
it, the user who has the save file will recieve no level, exp,
or maxexp. If this occurs, just set their level.
- [V1.2] The /votekick command's %client.voted; variable will
not change the value back to 0 after a vote ends. I need help on
this one.
- [V1.3b27] The /store command does not change the player's
datablock upon purchasing such an item.
Changelog
--- Code ---
Version 1.5
Release
-- Removed /respawn command due to possible abuse.
+ Repackaged into .zip
Dev 1
+ Added /afk and /back command
Version 1.4
Release
+ Added ifLevel, ifLevelTrue, and ifLevelFalse for the
event system.
+ Major bug fixes
Dev 32
+ Bug Fixes
Dev 5
+ New /inv command for /storeitem - Major Development.
Not available for public use.
Version 1.3
Release
+ Packaged into .zip
Dev 34
+ Minor bugfixes
Dev 27
+ Fixed the bug where you cannot vote after one
votekick stops.
+ Added precaution; you now cannot votekick admins,
superadmin, or the host.
+ Added a /store command. In major development.
Version 1.2
+ Initial Release
--- End Code ---
[Size=15pt]Note[/size]
The /save, /info, and /load commands both read and write from
"Documents/blockland/config/server/levelsystem/saves/". Make
sure your blockland directory is not read-only, especially if
you host from a dedicated server.
Download
Get v1.5 here!
HTML http://www.mediafire.com/download/j2646no443zigrk/server_level.zip
HTML http://www.mediafire.com/download/j2646no443zigrk/server_level.zip
---------------------------------------------------------
Any questions/comments/suggestions? Post here!:
HTML http://forum.blockland.us/index.php?topic=274864.0
*****************************************************
Page 1 of 1