SirniNamaz Posted October 13, 2012 Share Posted October 13, 2012 how to: 1. disable 'logout' and 'login' and 'register' command 2. disable chatbox 3. how to disable chatbox output that gets outputed when you login (or logout), something like this: login: you have successfully logged in and logout: you have successfully logged out Link to comment
BorderLine Posted October 13, 2012 Share Posted October 13, 2012 function clogout() cancelEvent() addEventHandler("onPlayerLogout",getRootElement(), clogout) Should work, make same but with anothers events. and to disable chatbox use showChat --or unbindKey (source, "t" ) both codes are serverside Link to comment
myonlake Posted October 14, 2012 Share Posted October 14, 2012 Do this via acl.xml. You can disable players from using those commands by giving them no permissions to those specific commands. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now