[mod] Banish

gpcf
Member
 
Posts: 57
Joined: Fri May 27, 2016 10:48
In-game: gabriel

[mod] Banish

by gpcf » Fri May 27, 2016 11:03

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.
Last edited by gpcf on Sun May 29, 2016 19:00, edited 2 times in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [mod] Banish

by azekill_DIABLO » Fri May 27, 2016 14:57

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....
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

gpcf
Member
 
Posts: 57
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [mod] Banish

by gpcf » Fri May 27, 2016 17:02

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).
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [mod] Banish

by azekill_DIABLO » Fri May 27, 2016 17:12

ok i understand :)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: [mod] Banish

by lightonflux » Fri May 27, 2016 18:35

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.
 

gpcf
Member
 
Posts: 57
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [mod] Banish

by gpcf » Sat May 28, 2016 17:56

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?
 

gpcf
Member
 
Posts: 57
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [mod] Banish

by gpcf » Sun May 29, 2016 19:00

Works now. I hijacked the beds mod's respawn system.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 9 guests

cron