Page 1 of 1

[mod] Banish

PostPosted: Fri May 27, 2016 11:03
by gpcf
This mod lets you send players very far away instead of banning them. They can try to return walking or they can wait five minutes and then teleport back. It seems a nicer way to deal with griefers to just send them away rather than throwing them out. It is available from: https://git.gpcf.eu/banish.git.

Usage: /banish <player>
Settings: banish_pos : Where to banish the players to. Default: 5000,30,5000.

Conflicts with the spawn mods out there, as it sets its own version of the spawn command that does not allow to return if you were banished.

Depends on: default: beds

TODO: add compatibility with the home command.

Re: [mod] Banish

PostPosted: Fri May 27, 2016 14:57
by azekill_DIABLO
Nice idea,but on most servers there is a /spawn or /home.

and if you don't see the banished, he can always chat, hack or do others things....

Re: [mod] Banish

PostPosted: Fri May 27, 2016 17:02
by gpcf
the banish mod is for griefers, not for other kinds of people you don't want to have on your server. I don't have a /home command on my server (going to add it when I made a banish-compatible version of it), but I have a /spawn and a /teleport command, which both require teleport privs, which are revoked when you get banished (on my server everyone has teleport privs).

Re: [mod] Banish

PostPosted: Fri May 27, 2016 17:12
by azekill_DIABLO
ok i understand :)

Re: [mod] Banish

PostPosted: Fri May 27, 2016 18:35
by lightonflux
gpcf wrote:the banish mod is for griefers, not for other kinds of people you don't want to have on your server. I don't have a /home command on my server (going to add it when I made a banish-compatible version of it), but I have a /spawn and a /teleport command, which both require teleport privs, which are revoked when you get banished (on my server everyone has teleport privs).


A work around would be to save their /home point in some variable, and then set /home to the place they were banished to. Then after the timeout you change it back.

Re: [mod] Banish

PostPosted: Sat May 28, 2016 17:56
by gpcf
The players now always respawn in this griefer area. How do I get only the griefers to respawn? What function sets a player's spawn point?

Re: [mod] Banish

PostPosted: Sun May 29, 2016 19:00
by gpcf
Works now. I hijacked the beds mod's respawn system.