Author Topic: Output Event-Server Command  (Read 3675 times)

Is there anyway to do this?

Example:

OnMinigameReset->Self->IssueServerCmd->/clearcorpses



« Last Edit: January 19, 2014, 03:36:41 PM by Zeblote »


I'll make it.
Why are you working on it when I have already made this? :c

I made this like three years ago

http://forum.blockland.us/index.php?topic=146132.0

It's not done that great though, and it's vulnerable to injection since it uses eval. Not going to put effort into fixing that since ^ probably made it better.
Assuming he's going to eventually edit/add a link to it
« Last Edit: January 19, 2014, 02:34:40 PM by Headcrab Zombie »


Badspot

  • Administrator
The way to do this is to implement a clearcorpses event, not open a massive security hole by allowing any event to call any command. 

The way to do this is to implement a clearcorpses event, not open a massive security hole by allowing any event to call any command. 
knowlege had rain down upon us

The way to do this is to implement a clearcorpses event, not open a massive security hole by allowing any event to call any command. 
But that's not what he wants - it's only an example.

Badspot

  • Administrator
But that's not what he wants - it's only an example.

Ok then,

The way to do this is to implement a <whatever you actually want> event, not open a massive security hole by allowing any event to call any command. 

Ok then,

The way to do this is to implement a <whatever you actually want> event, not open a massive security hole by allowing any event to call any command. 
While I agree that it's a security issue and is abusable, it's really up to the server owner, and this is likely only going to be used in mini games or with events set to admin only.

While I agree that it's a security issue and is abusable, it's really up to the server owner, and this is likely only going to be used in mini games or with events set to admin only.
it's hard to trust players to handle their server's 'secureness'

it's hard to trust players to handle their server's 'secureness'
If their server gets screwed up, it's their fault.

What if there were a way to detect the user that made it so that players who used it would actually have permission to the command.  If a user made a button to clear all their bricks, by clicking it then why not?

If their server gets screwed up, it's their fault.
No it's not, it's the mods vulnerability's that caused his server to be forgeted up.