| Blockland Forums > General Discussion |
| Event Do Commands |
| << < (3/4) > >> |
| honytawk:
I think it is better if you just coded some events that did the command you needed. Like a event that can set time and stuff. |
| xSetrox:
--- Quote from: Starzy on March 20, 2014, 12:13:13 AM ---There was an addon that did exactly this and badspot didn't fail it because it was the right way to implement it, you get dumber and dumber every day I swear. --- End quote --- Try saying you just get dumber and dumber. --- Quote from: Badspot on January 23, 2014, 01:27:43 AM ---A white listed series of specifically implemented events (like greek2me's post) is the way to do this. If you allow complete access to any servercmd, then malicious saves could be created that ban players, change the admin password, restart the server, who knows what. There's also unforeseen interactions with future add-ons that implement new servercmds. Stick to implementing specific events, not exposing script access. --- End quote --- What I was saying was that just making it admin-only wont be accepted by Badspot. And jesus christ, why do you always hold this grudge against me? PEOPLE MAKE loving MISTAKES |
| SWAT One:
--- Quote from: TristanLuigi on March 19, 2014, 07:36:45 PM ---Made, but then failed by Badspot. While this would be useful, mostly anything you want to do with this can be done with events and anything else is likely VERY abusable (much more so than a regular add-on). Imagine a relay with a ban command for every admin on the server. Assuming no remote control, there would be no way for an admin to get on to fix the issue. --- End quote --- Technically you could homebrew a script that works on schedules to ban every player, but he doesn't ban you for add-ons you keep only native to your server. This would be abusable, yes, but to be honest, it has a lot of capabilities outside of abuse, and that's what I'd like to do with it. |
| gr8dayseth:
--- Quote from: gr8dayseth on March 19, 2014, 07:53:55 PM ---Maybe some can be restricted, for everyone including host, like banning, kicking, and whatever else sounds abusable. --- End quote --- Do I have to spell everything out |
| ultimamax:
--- Quote from: gr8dayseth on March 20, 2014, 12:21:10 AM --- --- End quote --- Even if you restricted the default serverCmds, someone could create a new serverCmd that for some reason requires admin, and you wouldn't be able to make sure to prevent it from happening because you didn't predict its existence. --- Quote from: SWAT One on March 20, 2014, 03:27:23 PM ---Technically you could homebrew a script that works on schedules to ban every player, but he doesn't ban you for add-ons you keep only native to your server. This would be abusable, yes, but to be honest, it has a lot of capabilities outside of abuse, and that's what I'd like to do with it. --- End quote --- If you're really this needing of it, PM me and I'll write you it. As long as the mod remains private to your server it can't do any damage beyond your computer. If you're willing to risk that the coding part isn't hard. |
| Navigation |
| Message Index |
| Next page |
| Previous page |