Jump to content

Interface between mods that alter the world and mods that offer protection


Evert

Recommended Posts

As far as I know, none of the mods/plugins that do protect against stealing/destructing by players directly, can protect against those players abusing machines to do the grieving for them.

 

It can be very frustrating for players and server owners to see their creations being destructed or stolen from. And then not even be able to find out who did it.

Server owners now choose to disable (parts of) mods that are great to play with, but that are being abused by a minority.

 

It would be very helpful if there were some sort of standard within Forge that mods would have to use to alter the world, so protection mods can detect which mod/player combination is at work here and use that for logging or permissions.

 

My suggestion is to let mods alter the world through a fake player, that has a name that combines the names of the mod and the player that controls that machine.

For example. If I would use a ComputerCraft Mining Turtle to break blocks, it would call PlayerInteractEvent with as fake playername [computercraft]evert79

 

This way, a mod that makes a log, could save that information and if I abuse the turtle to destroy something that is build by an other player, the server admins could find it and ban me from the server.

Or a mod that offers protection could stop the turtle from breaking in an area where the fake player doesn't have explicit permission.

Link to comment
Share on other sites

  • 2 months later...

Sorry for bumping, but i'm second this. It's absolutely necessary.

Right now - only "chosen ones" (communities with skilled java coder) can run their own servers, cause you need to modify each block breaking mod for adding fakeplayer there - this is very complicated, and often, leads to random errors due to mod decompilation.

There is so much great mods, but all that you can do - ban 75% of the items, or run whitelisted server for friends. That is extremely bad...

 

Maybe i'm missing some way to protect server without decompilation? Please, let me know, if there is any

Link to comment
Share on other sites

  • 2 weeks later...

Some mods already do;

  • Forestry has one for the farms, named [Forestry]
  • Buildcraft has one for the quarry, et al, named [buildcraft]
  • Red Power 2 has one for its block placers/breakers, and IIRC, it's named [Redpower]

Forge already has hooks for this, but it isn't compulsory to use them, yet...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.