Join Multiplay
Like Tree1Likes

Minecraft Retro gaming in its most addictive form Multiplay Minecraft Servers
Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 28th January 2012, 00:11   #1
n00bie
 
Join Date: Oct 2011
Posts: 7
Question Temporary server ban after death?

Is there a way to ban players for say an hour every time they die? or some other penalty that could be added?
strangecalibur is offline   Reply With Quote
Old 28th January 2012, 01:13   #2
Electrician-Tastic
Fileplay Subscriber!
 
Minidisk's Avatar
 
Join Date: Jun 2005
Location: Carlisle, UK
Posts: 1,159

odd
__________________
CarlisleLans d00d
See: www.CarlisleLan.co.uk for awsome events in the north.
Minidisk is offline   Reply With Quote
Old 28th January 2012, 01:27   #3
n00bie
 
Join Date: Oct 2011
Posts: 7

its not really, it means death has more annoying consequences than just regaining your health
strangecalibur is offline   Reply With Quote
Old 28th January 2012, 04:18   #4
Santanist
 
Coco's Avatar
 
Join Date: Jul 2011
Posts: 271

There was a bukkit plugin that could do this, I remember its like being used in "extreme" survival. I can't remember it, though, so you're going to have to go to bukkit.org and search.
__________________
“Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.” — Dennis the Peasant, Monty Python and the Holy Grail
Coco is offline   Reply With Quote
Old 28th January 2012, 05:09   #5
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

rtriggers should be able to do this
Ondeath do this :kick
Zelif is offline   Reply With Quote
Old 29th January 2012, 21:34   #6
n00bie
 
Join Date: Oct 2011
Posts: 7

Quote:
Originally Posted by Zelif View Post
rtriggers should be able to do this
Ondeath do this :kick
Yea I will give that a go thanks!
strangecalibur is offline   Reply With Quote
Old 29th January 2012, 21:56   #7
n00bie
 
Join Date: Oct 2011
Posts: 7

Quote:
Originally Posted by strangecalibur View Post
Yea I will give that a go thanks!
Looks like that only works with messages
strangecalibur is offline   Reply With Quote
Old 30th January 2012, 03:17   #8
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

give me a few days i might be able to make a very simple plugin for this. I could have sworn rtriggers could do commands on death. But i dont think it could ban for a set time.
Zelif is offline   Reply With Quote
Old 30th January 2012, 04:14   #9
n00bie
 
Join Date: Oct 2011
Posts: 7

Quote:
Originally Posted by Zelif View Post
give me a few days i might be able to make a very simple plugin for this. I could have sworn rtriggers could do commands on death. But i dont think it could ban for a set time.
I guarantee it would become a very popular plugin for survival servers
strangecalibur is offline   Reply With Quote
Old 6th February 2012, 20:33   #10
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Alrighty I have finished. 6hrs later and halfway figuring out why half the code wasn't happy since bukkit changed the listeners Im done. ;D
https://github.com/downloads/Zelif/D...athTimeout.jar
The config file will generate and 5mins is the default(300seconds) You can edit this to what you wish. Hopefully this is what you want.
On a side note I may have to change it to on respawn rather than on death as the when people try to rejoin it likes to spam the console of failed packet msgs. (these are harmless)
I may update it later on when Ive had some sleep ;D
Oh huge credit to the maker of TempBan as 80% of the plugin is his code
Zelif is offline   Reply With Quote
Old 6th February 2012, 22:30   #11
n00bie
 
Join Date: Oct 2011
Posts: 7

Quote:
Originally Posted by Zelif View Post
Alrighty I have finished. 6hrs later and halfway figuring out why half the code wasn't happy since bukkit changed the listeners Im done. ;D
https://github.com/downloads/Zelif/D...athTimeout.jar
The config file will generate and 5mins is the default(300seconds) You can edit this to what you wish. Hopefully this is what you want.
On a side note I may have to change it to on respawn rather than on death as the when people try to rejoin it likes to spam the console of failed packet msgs. (these are harmless)
I may update it later on when Ive had some sleep ;D
Oh huge credit to the maker of TempBan as 80% of the plugin is his code
Thanks! This will really add some fear to my server lol
strangecalibur is offline   Reply With Quote
Old 7th February 2012, 17:33   #12
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

https://github.com/downloads/Zelif/D...athTimeout.jar
Code:
Things changed:
*I updated it so that it no longer spams the log if someone keeps trying to join.
*Added reload command. /dt-reload
*Added edit seconds command. /dt-edit <Number>
*Puts the time on the log when they try to rejoin.
*Added permission nodes, these all default to OP.
            DeathTimeout.reload: true
            DeathTimeout.edit: true
            DeathTimeout.*: true
I think that is all it needs atm, if you want a feature just ask.
If anyone wish to have the source here it is:
https://github.com/Zelif/DeathTimeout
Zelif is offline   Reply With Quote
Old 10th February 2012, 18:53   #13
n00bie
 
Join Date: Oct 2011
Posts: 7

Thanks so much!
strangecalibur is offline   Reply With Quote
Old 5th March 2012, 03:39   #14
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

I love the plugin.

Would it be possible to make the 'Death message' and 'Still Dead message' configurable?
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 05:08   #15
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Gimmie about 30 - 40mins.
Zelif is offline   Reply With Quote
Old 5th March 2012, 05:43   #16
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Wow, Thanks, I very much appreciate it.
I used a plugin almost exactly like this and it stopped working with Craftbukkit 1.1R5.
I prefer yours because it shows the seconds along with the minutes.

I wasn't sure how I'd replace it so finding this is awesome.
Do you have a Paypal? I'll be starting work again soon and I'd like to make a small donation.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 06:01   #17
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

https://github.com/downloads/Zelif/D...athTimeout.jar
Done, it is not 100% configurable the time will still have to be the same spot for now, I will work to change it later when I have more time. Atm you can change the msg before the time.

I do have paypal, I have no idea what I need to do to setup a donations button xD

Last edited by Zelif; 5th March 2012 at 06:09.
Zelif is offline   Reply With Quote
Old 5th March 2012, 06:35   #18
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Thanks!
Where do I enter the configuration to change the text, is it in the generated config file or do I input a command?

I'm not too sure about the donation button either. I won't forget this so whenever it's possible I'll be making a donation.
Wish I didn't have to get to bed, goodnight.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 07:36   #19
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Lol night and it is in the config, I simply changed the set msg to a readable config it will be under:
kick-msg
kick-rejoin
The default ones should be there after you run it once

PS, I didn't test it but it looks like it should work.

Last edited by Zelif; 5th March 2012 at 09:28.
Zelif is offline   Reply With Quote
Old 5th March 2012, 09:42   #20
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Well couldn't sleep just yet, wanted to test it out.
The banning on death works great but I couldn't find the kick-msg or kick-rejoin.
When it started it made one config.yml and inside that there was one line for SecondsBanned. Forgive me if I don't understand. Thanks for all your help.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 10:43   #21
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

mmm it should have made those values inside the config. I will test this now.

It works for me ? when it enables it will put the kick-msg and kick-rejoin appear inside the config.yml

To make sure you can try delete the config and it will generate a new one ;D

I just finished the doing it so that you can use a variable and have it 100% custom msg ;D in the process of testing it now.

Last edited by Zelif; 5th March 2012 at 11:45.
Zelif is offline   Reply With Quote
Old 5th March 2012, 13:33   #22
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Hmmm, that is strange.
For me when deleting the config, the new one it generates only has the SecondsBanned and no kick-msg or kick-rejoin inside.
I've been trying the plugin download from post #17 with craftbukkit 1.1R6 and 1.2.3R0.1

What I've been doing is putting the plugin in my plugins folder and starting up the server. The plugin makes a folder and inside the folder is the config.yml. For some reason no kick-msg or kick-rejoin inside that config.

Oh darn, I must leave for work. Have a good day.

Last edited by DoctorBoyd; 5th March 2012 at 14:24.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 14:23   #23
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

turns out I have the day off!

I'm wondering, could the wrong file be linked for download possibly?

I looked at my paypal and I think I only need your paypal email to send cash. There is a send money section but I'm not sure if that's considered different from a donation, like taxes involved or something. Let me know what you are comfortable with in the future.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 14:28   #24
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Sorry I had a spelling mistake in there, stupid capitals >.<
Anyway redownload it and get it a go.
https://github.com/downloads/Zelif/D...athTimeout.jar
You MUST have the word time in there.

The word time will be replaced by how much time they have left.
https://github.com/Zelif/DeathTimeout/wiki
My email that I use for my paypal is on there.

Last edited by Zelif; 5th March 2012 at 14:39.
Zelif is offline   Reply With Quote
Old 5th March 2012, 14:43   #25
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Hmmm, I'm still not getting a full config file. There is just the SecondsBanned appearing.

I looked in the .jar with winrar and inside the plugin.yml it says I'm using version 0.2

Awesome, just saw your edit about the wiki and paypal
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 14:47   #26
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Strange its doing something strange on git
ill have to rename it
https://github.com/downloads/Zelif/D...imeout-0.3.jar
xD
Zelif is offline   Reply With Quote
Old 5th March 2012, 15:08   #27
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

It works!
This is just awesome thank you. It's seriously my favorite plugin I could throw the other ones out the window but I need this plugin to enjoy myself playing.
Some of the other deathbans try to do too much, this one appears simple and does it's job. With the addition of the seconds (the last one i used only had minutes) this plugin really rocks. I won't forget this.
DoctorBoyd is offline   Reply With Quote
Old 5th March 2012, 15:15   #28
[Meow]
 
Zelif's Avatar
 
Join Date: Jul 2011
Location: AUS
Posts: 909

Glad you liked it, it is a simple plugin since it was only needed to do one thing glad you enjoy it. Not to mention as my first plugin was quite nice to see how java works ;D
Zelif is offline   Reply With Quote
Old 5th March 2012, 15:34   #29
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Wow, awesome job for your first plugin.
DoctorBoyd is offline   Reply With Quote
Old 8th March 2012, 04:50   #30
n00bie
 
DoctorBoyd's Avatar
 
Join Date: Mar 2012
Posts: 18

Things are still going great with the plugin.
One thing I overlooked last time is it seems that when a player comes back from their tempban they still have their inventory from before they died. It does drop out when they die but seems to come back when they come back.
I'm wondering, is there a way to have the plugin erase the inventory of someone that died? I would like the extra punishment of an inventory wipe on top of the tempban.
I have a couple of other ideas that came from this abandoned plugin linked below. Let me know what you think.
https://github.com/RobertZenz/org.bo...er/GhostBuster
DoctorBoyd is offline   Reply With Quote
Reply

Tags
ban, death, server, spawn, spawning, temporary


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Server just kicked all 64 people for no reason given reason. Mk1 Battlefield 3 28 10th November 2011 16:27
Counter-Strike: Source Tournament Feedback FiRe i32 12 19th November 2007 10:41
Server etiquette + Ban Queries Parva Team Fortress 2 0 29th September 2007 03:58
BF2 server crashing EVERDAY! manface Gameservers 90 23rd November 2006 02:34
MPUK: Cheaters List Limi Anti-Cheat 4 6th February 2004 20:32


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:22.


SEO by vBSEO 3.6.0