Jack_Miller Posted December 9, 2010 Share Posted December 9, 2010 Hi Guys. I don't use ACL on my Server, so everyone can start, restart and stop resources...that sucks.. Yesterday i finished a scipt exactly like the normal /start, /stop and /restart. removeCommandHandler don't work on it. So where is the normal /start function in? I searched in the standard resources but didn't find it... Link to comment
Discord Moderators Zango Posted December 9, 2010 Discord Moderators Share Posted December 9, 2010 start, stop, restart, refresh etc. are native built in MTA commands. They cannot be disabled. I'd advise you to do the following: onClientResourceStart and onResourceStart, cancelEvent() unless a dynamic parameter on the certain resource is true (do for stop too) I would only advise you to fix your ACL. I am not sure how your server will react if one decides to spam one of the above Link to comment
Jack_Miller Posted December 9, 2010 Author Share Posted December 9, 2010 You mean with an eventHandler? Link to comment
Discord Moderators Zango Posted December 9, 2010 Discord Moderators Share Posted December 9, 2010 yes Link to comment
eAi Posted December 9, 2010 Share Posted December 9, 2010 Why not use the ACL on your server? Just disable start/stop/restart etc for everyone, it's a couple of lines of XML. 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