Hello and welcome to the official release thread for my ULX commands.
I have attached two .zip files into this post. The one called "decicus_ulx_ttt" has all commands (utility + TTT commands), while the other ("decicus_ulx") only has the utility commands (commands are described further down into this post). So you can choose if you want it with or without the TTT commands.
Changelog:-> Update November 29th, 2014 (Version 2.22):
- Fixed a typo in the "ulx toggledamagelog" command.
-> Update July 31st, 2014 (Version 2.21):
- Fixed an issue with "slapnr" where the log wouldn't show when removing the slap.
-> Update July 28th, 2014 (Version 2.2):
- Added "pmute" and "pmuteid" for permanent muting.
-> Update July 21st, 2014 (Version 2.1):
- Fixed an error if the console used "reloadmap".
- "Slap Next Round" now also notifies on playerspawn, instead of playerjoin-only (this was an error on my part).
-> Update July 6th, 2014 (Version 2.0):
- Code has been cleaned up.
- "SlapNR" & "ToggleDamagelog" now saves under different "data-names", people that used toggledamagelog will have to re-use the command.
- "ReloadMap" now waits 1.5 seconds before reloading the map.
-> Update January 14th, 2014 (Version 1.3):
- AFKMe has been modified slightly and works better now.
- "ULX Damagelog" has now been added. Read more about it in the command info (TTT).
-> Update December 20th, 2013 (Version 1.2):
- Markusmoo allowed me to include the "silent kick" again!
- TTT command addition: "AFKMe". Moves yourself to spectator (more info further below).
-> Update December 7th, 2013 (Version 1.1):
I've updated my little command pack, and here are the changes:
- SlapNR now has a dedicated remove slap command (opposite) - "ulx rslapnr" or !rslapnr in chat.
- Toggledamagelog now logs to console/server logs.
- New utility command: "ReloadMap". Does what it says, basically reloads the current map. More info below.
- ULX menu categories changed from "Decicus - TTT" & "Decicus - Utility" to just "TTT" & "Utility" - It felt like I was advertising in a stupid way.
Commands:Chat commands ("Chat" in the ULX menu):"pmute" - Permanent mute.
Default access: Admin.
Usage:Console: ulx pmute Player - Replace "Player" with the name of the player you want to permanently mute.
Chat: !pmute Player - See above.
Opposite: "!unpmute" or "ulx unpmute" will remove the permanent mute.
ULX menu: Under the category "Chat".
"pmuteid" - Permanent mute for Steam ID's.
Default access: Admin.
Usage:Console: ulx pmuteid SteamID - Replace "SteamID" with a Steam ID in this format (example): STEAM_0:1:12345678
Chat: !pmuteid SteamID - Read above.
Opposite: "!unpmuteid" or "ulx unpmuteid" will remove the permanent mute from the Steam ID.
ULX menu: Under the category "Chat".
TTT Commands ("TTT" in the ULX menu):"SlapNR" - Inspired by SlayNR in
this ULX addon, I created a command that puts a slap on someone the next round.
Default access: Admin.
Usage:Console: ulx slapnr Player damage - Replace player with playername and damage with a number between 0-99 (0 will remove the current slapnr, so if you put 50 on a player, doing it again with 0 instead will remove the slap).
Chat: !slapnr Player damage - Again, replace player with playername and damage with a number.
Opposite: "!rslapnr" or "ulx rslapnr" will remove the slap. "ulx slapnr Name 0" still works.
ULX menu: Under the category "TTT".
"ToggleDamagelog" - It's a command for enabling/disabling damagelog-printing to the console. At the end of every round, anyone that is currently on the server and has this enabled will get the damagelog printed to their console.
Default access: Everyone.
Usage:Console: ulx toggledamagelog - It will print to your chat saying if it's enabled or disabled.
Chat: !toggledamagelog
ULX menu: Under the category "TTT".
"AFKMe" - It's an alternative to using the console command "ttt_spectate" or going through the F1 menu of TTT.
Default access: Everyone.
Usage:Console: ulx afkme
Chat: !afkme
Opposite (Console - Chat): ulx unafkme - !unafkme
ULX menu: Under the category "TTT".
Other notes:
- The console command here isn't really necessary, because of "ttt_spectate".
- To get out of spectator using a command, use one of the opposites.
"Damagelog" - Allowing more than superadmins to print the damagelog mid-round.
Default access: Superadmin.
Usage:Console: ulx damagelog
Chat: !damagelog
ULX menu: Under the category "TTT".
Other notes:
-
IMPORTANT: Anyone with the permission to use this will be able to print it
WHENEVER they want to. Whether the round is active or not.
- It works the same way as "ttt_print_damagelog". Although this time you can modify the group permission for other than superadmin to use without modifying default code.
- 95% of the code is taken from the default TTT damagelog code, I just "converted" it to a ULX command so people could have an easier time letting groups below "superadmin" print the damagelog of the round, while it's ongoing.
Utility commands ("Utility" in the ULX menu):"FMotd" or "Force MOTD" - It's a command that you can use if you want to force someone to open the server's MOTD on their screen (I find this useful for servers that have "special" rules compared to other servers).
Default access: Admin.
Usage:Console: "ulx fmotd Player" - Replace "Player" with the name of the player you want to open the MOTD on.
Chat: !fmotd Player - Same as above.
ULX menu: Under the category "Utility".
"Reload Map" - It reloads the current map, this means that if you're on gm_flatgrass and do "!reloadmap" in chat (or "ulx reloadmap" in console) it will do a mapchange to gm_flatgrass.
Default access: Admin.
Usage:Console: "ulx reloadmap"
Chat: !reloadmap
ULX menu: Under the category "Utility".
"Silent kick" - Silently kicks a player, it will only show for you and superadmins (by default).
Default access: Admin.
Usage:Console: "ulx skick name reason"
Chat: !skick name reason
ULX menu: Under the category "Utility".
Other notes:
- Thanks to Markusmoo for letting me add this command back into the command pack!
"steamid" - Copy Steam ID of a player.
Default: Everyone.
Usage:Console: ulx steamid Player - Replace player with playername.
Chat: !steamid Player - Replace player with playername.
ULX menu: Under the category "Utility".
This version might become a bit outdated occasionally. If you'd like the most up-to-date version of this addon, check the git repository:
GitHub:
https://github.com/Decicus/ULX-Commands-by-DecicusFor previous releases (1.3 and newer), they will be located here:
https://decicus.com/ulx-commands/If you have any questions, feel free to ask.
~Decicus/Alex