Ulysses Stuff > General Chat & Help and Support
Voting?
(1/1)
Andrew:
Sorry, im a ULX noob, but how do I get the options where all players can use the commands !votekick and !voteban
what text file must i edit, and what do i write in..? any help would be great, thanks!
PS: love ULX mod. :D
JamminR:
Be careful if you have lots of idiots join.
There is no code to prevent the amount of time/use if you allow all.
For ULX v2...
Find gmod9/lua/ulx/util.lua
Open it with Wordpad (Notepad bunches lines together often)
For Votekick, find the line that says
--- Code: ---ulx.CONCOMMAND( "votekick", ulx.cc_voteKick, "<user> - Gives the users a vote on whether or not to kick a player", ACCESS_VOTE, "!votekick" )
--- End code ---
Change it to
--- Code: ---ulx.CONCOMMAND( "votekick", ulx.cc_voteKick, "<user> - Gives the users a vote on whether or not to kick a player", ACCESS_ALL, "!votekick" )
--- End code ---
For VoteKickBan
Find
--- Code: ---ulx.CONCOMMAND( "votekickban", ulx.cc_voteKickBan, "<user> - Gives the users a vote on whether or not to kickban a player", ACCESS_VOTE, "!votekickban" )
--- End code ---
Change it to
--- Code: ---ulx.CONCOMMAND( "votekickban", ulx.cc_voteKickBan, "<user> - Gives the users a vote on whether or not to kickban a player", ACCESS_ALL, "!votekickban" )
--- End code ---
Megiddo is currently working on code that will allow assignment of commands in a configuration file, so that the main files don't have to be edited like this, or anytime an upgrade overwrites the main files.
Navigation
[0] Message Index
Go to full version