GoGoBanYourself
About GoGoBanYourself
GoGoBanYourself_v1.3c is now also available for CraftBukkit 1.8
All later versions are no longer compatible with CraftBukkit 1.7.2
GoGoBanYourself_v1.0 is compatible with CraftBukkit 1.7.2 - 1.7.10
Version: 1.3c_CB_1.7.10 Release: 02 January 2015
Version: 1.3c_CB_1.8-R0.1 Release: 06 January 2015
GogoBanYourself is a plugin for autokicking and banning players for one day similar to what you might know of gamemodes like Varo, Varo 2 or others. Via the Config.yml you can define ho long your users are allowed to player on your server per day. After their daily time has passed, they get banned until the next day 0:00 AM if you want to. You can also define this and some other options like ban on death, immunity after player join, freezed player while he is immune after he joined, ... in the Config.yml, even if they will be banned or only kicked.
With version 1.1 also a kick countdown and a countdown to start a new game was implemented.
Features
- Permissions support for administrative commands
- Auto kick and auto ban
- Ban after player died
- Definable counters for the daily allowed online time
- Definable time for the join-immunity
- Freeze players while they are immune
- Game start scenario with countdown
- End and restart the game and meanwhile auto reset all counters automatically
- Only kick or kick and ban players for a day
- German and English language supported
- Define your own messages
Version 1.3c
If you already use an earlier version of GoGoBanYourself, it's mandatory to delete the older GoGoBanYourself.jar and also the whole GoGoBanYourself directory first and restart your server after you added GoGoBanYourself_v1.3.jar! There have been added many new features and have been made some extensive changes to the plugin that require this procedure! After that you can configure the new config.yml and messages.yml and start your game.
If no game is running, you and your players can't destroy or place any blocks and are now also immune. After every player arrived at his start location, the owner or anyone with the needed permissions performs "/gogo startgame". Now all players are immune and bound to their actual position and a countdown will be initialized.
After the countdown ended, the game is active and all players can move and also get killed. If you activated the option "deathBanPalyers: true" in the config.yml, players are banned for the whole active game if they die.
If a player joins and you have set an value for the option "joinImmunity" he is immune for the given value measured in seconds. If you also set the option "moveWhileImmune: false" he also can't move from the block he is standing on while he is immune and also can't place or break any blocks.
To stop an active game you perform "/gogo endgame". With this command all players will be kicked from your server, all files except the config.yml will be resetted even as all counters and banlists. So after this you should be able to start a new game directly. But I recommend to perform a restart of your server after you stopped the game.
If you restart your server while a game is already running, this is no problem. All values, counters and banlists are stored permanently and after the restart everything will be as before you stopped the server.
Also if a player disconnects and reconnects later the day his formerly counter is stored. So he really only can have the daily online time you defined in the config.yml.
It is not necessary to edit any of the stored files in the "GoGoBanYourself/data" directory! Please only make changes in config.yml and messages.yml! You also don't have to set the actual date or time in "dates.yml! This will automatically be added and updated out of the plugin itself!
You now can define your own messages in messages.yml!
You now can define a delay for the reset of the counters and banlist in config.yml. You can use this, if you want to automatically reset your counters at another time than 0:00 AM or if your server is located in another time zone than your clients.
Installation/Configuration
Simply download the JAR file, copy it to your Bukkit server's "plugins" directory and reload/restart your server. The first time GoGoBanYourself is enabled a "GoGoBanYourself" directory that contains the "config.yml" and some other needed files will be created.
In the "config.yml" you can choose between english or german ingame language output of GoGoBanYourself and define the counter for your users and if a user is only kicked or kicked and banned for a day. You can also define if a broadcast will be sent if a player is banned. You'll also find the eventually needed permissions inside the "config.yml".
With version 1.1 of GoGoBanYourself you can also configure, if players join immune and freezed or only immune without beeing freezed. Here it's also possible to set the length of the immunity. Now it's also possible to auto ban players if they die or get killed. You'll find a description of the possibilities inside the config.yml.
Commands
- Main command of GoGoBanYourself:
- /gogo
- /gogo
- Show your current counter (online time in minutes):
- /gogo mycounter
- /gogo mycounter
- Show a list of currently banned players:
- /gogo bannedplayers
- /gogo bannedplayers
- Show all commands of GoGoBanYourself:
- /gogo help
- /gogo help
- Show the current version of GoGoBanYourself:
- /gogo version
- /gogo version
- Reload the Config.yml after changes have been made (Admin only, needs permission or OP, can be executed via console without permission):
- /gogo reloadconfig
- /gogo reloadconfig
- Reload the messages.yml after changes have been made (Admin only, needs permission or OP, can be executed via console without permission):
- /gogo reloadmessages
- /gogo reloadmessages
- Reset Counters manually (Admin only, needs permission or OP, can be executed via console without permission):
- /gogo resetcounters
- /gogo resetcounters
- Start the game (Admin only, needs permission or OP, can be executed via console without permission):
- /gogo startgame
- /gogo startgame
- End the active game (Admin only, needs permission or OP, can be executed via console without permission):
- /gogo endgame
- /gogo endgame
Permissions
GoGoBanYourself should work with any permissions plugin.
- Default Permissions (OP automatically owns this permissions):
- - GoGoBanYourself.reloadconfig - Needed for reloading config.yml! You can also perform this via console without the need of permission.
- - GoGoBanYourself.resetcounters - Needed for resetting counters and banlist manually! You can also perform this via console without the need of permission.
- - GoGoBanYourself.startgame - Needed to start the game and the initializing countdown! You can also perform this via console without the need of permission.
- - GoGoBanYourself.reloadmessages - Needed for reloading messages.yml! You can also perform this via console without the need of permission.
- - GoGoBanYourself.endgame - Needed to stop an active game! You can also perform this via console without the need of permission.
Issues and Bug Reports
If you discover any bugs or issues during the use of GoGoBanYourself feel free to open a ticket or contact me via
- Skype: Bullit0027
- E-Mail: [email protected]
Feedback
Please also feel free to write your feedback in the comments. I'm happy for every useful feedback or suggestion ;-)
So far, keep on mining, Bullit
Hey,
dein Plugin ist super! Funktioniert es auch für die Minecraft Version: 1.7.10 ?
Vielen Dank für deine Rückmeldung
Gruß Alfonsinjo
Hallo und danke,
ja, es funktioniert auch mit 1.7.10. Wenn du mal auf der Pluginseite bei dev.bukkit.org schaust, wirst du auch sehen, dass es extra eine gegen 1.7.10 kompilierte Version gibt.
http://dev.bukkit.org/bukkit-plugins/gogobanyourself/files/11-gogo-ban-yourself_v1-3c_cb_1-7-10/
Grüße Bullit
Hey,erstmal sehr cooles Plugin:D,ich wollte fragen,ob man wenn man Tod ist sich irgendwie entbannen kann,ohne das Projekt zu beenden,da ich Server Admin bin und auf dem Server was bauen muss
Hallo und danke,
du kannst einfach deine UUID aus der "deathBannedPlayers.yml" löschen, dann kannst du wieder joinen.
Grüße Bullit
Hallo,
Ich würde gerne auf meinem Server ein pvp event mit Klassenkameraden veranstalten, da wahrscheinlich nicht jeden Tag alle Zeit haben zum Spielen würde ich die Zeitbegrenzung gerne Wöchentlich zurücksetzen. Ist das in dieser Version möglich?
Danke für dieses Plugin und eine Antwort.
Hallo,
nein, die Zähler und Banns werden täglich resettet und können nicht auf einen wöchentlichen Reset verändert werden. Lediglich der Zeitpunkt des täglichen Resets lässt sich variieren.
Grüße Bullit
Hi habe eine Frage,
Wie kann man einstellen das man nach einem tag bzw 12 std wieder entbannt wird?
Hallo,
auch das steht in der Anleitung beschrieben. Die Zähler und Bannlisten (außer die der toten, ausgeschiedenen Spieler) werden immer um 0:00 Uhr Serverzeit (!) resettet. Wenn dein Server in einer anderen Zeitzone läuft als dis Clients die verbinden, dann kann man die Abweichung über die Option "timezoneDelay: 0" in der config.yml stundenweise ausgleichen.
Die Option "timezoneDelay: 0" Kann man aber auch dazu nutzen, um den Resetzeitpunkt zu verschieben. Wenn die Zähler und Listen z.B. erst um 15:00 Uhr des nächsten Tages resettet werden sollen, dann ändert man die Option einfach zu "timezoneDelay: 15" also 15 Stunden später als 0:00 Serverzeit. Negative Werte funktionieren ebenso.
Grüße Bullit
Hallo,
Ich habe das Plugin noch nicht gedownloadet allerdings hört es sich ziemlich gut an und die Rückmeldungen sind ja auch Klasse, also schon einmal meinen Respekt.
Nun hätte ich die Frage, ob auch die Funktion drin ist das man in einer Kampfsituation, d. h. wenn man __ Blöcke von einem anderen Spieler entfernt ist nicht gekickt wird. Und dann auch eingeben kann wer mit wem im Team ist das auf die beiden die Regel dann nicht zutrifft. Wenn diese Funktion noch nicht vorhanden ist wäre es ziemlich cool wenn du dies adden könntest.
Außerdem wäre noch ein Countdown am Anfang der Zeit ziemlich geil. Vll acuh mit Blockprotection in der Zeit wie bei Varo 2.
Wäre Super.
Mfg McAgent
Hallo und danke,
das mit dem nicht gekickt werden in einer Kampfsituation ist aktuell noch nicht implementiert, habe ich aber eventuell vor einzubauen.
Teammäßig ist auch noch nichts implementiert, hatte ich jetzt so aber auch noch nicht geplant zu implementieren. Aber ich hab da grad schon schöne Ideen dazu :) also vielleicht kommt da auch was :D
Der Startcountdown ist schon implementiert, mit Schutz, dass man vor und während der Schutzzeit nichts abbauen kann. Dies ist sowohl beim Start eines Spiels, als auch beim joinen eines Spielers implementiert. Beim joinen kann es auch über die config.yml konfiguriert oder gänzlich abgeschaltet werden. Während der Schutzzeit sind die Spieler auch gefreezed. das kann man für die Immunität nach dem join ebenfalls konfigurieren.
Am besten liest du dir dazu mal meine Anleitung oben durch, da ist eigentlich alles beschrieben.
Grüße Bullit
Das Plugin ist einfach der Hammer ein sehr geiles Plugin nach sowas habe ich schon lange gesucht. Ich find auch gut das dass Plugin ständig geupdatet wird, nur eine Sache ist jetzt aber nicht so schwerwiegend ist das man die Textfarbe selber einstellen kann wie z.b %KILLER% hat %PLAYER% getoetet! Das man jetzt einfach z.b &4 davor setzt ----->(&4%KILLER% hat &4%PLAYER% getoetet!) Das wäre noch richtig cool, aber sonst ist das Plugin einfach richtig cool!
Mfg anonymous4461
Danke :)
Das mit den Textfarben ist absichtlich so, dass man sie nicht verändern kann. Vielleicht änder ich das noch, bin ich mir aber noch nicht sicher. Mit "&" funktioniert das in der yml aber standartmäßig so oder so nicht. Hier ist es wie mit Büchern z.B., da nutzt man ein "§" andtelle des "&".
Grüße Bullit
Kann man in dem Plugin auch einstellen nach wie vielen toden man gebannt wird ?
LG BoBlJohn
Nein, man kann einstellen, ob man gebannt wird wenn man stirbt oder nicht. Wenn man es also aktiviert, wird man nach dem ersten Tod gebannt.
Ich kann das Plugin nicht installieren es steht folgendes:
[14:28:44 ERROR]: Could not load 'plugins/GoGoBanYourself_v1.3a.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/Bullit0028/GoGoBanYourself/GoGoBanYourself : Unsupported major.minor version 51.0
Wäre nett, wenn du mir einfach die ganze Exception per mail, Skype oder PM schicken würdest... So wie ich das sehe, kommt der Error aber nicht aus dem Plugin, sondern hängt mit deiner, auf dem Server installierten, Java Version zusammen. Bring deinen Server mal auf Java 7 und teste es dann nochmal.
@thatstim00
With GoGoBanYourself you now can define your own messages!
Klappt alles bis zu dem Punkt, an dem man gekickt werden soll, wenn die Zeit abgelaufen ist. Ich kann /gogo startgame benutzen, dann startet der Countdown und etc., sobald aber die Spielzeit (in meiner Probe 1min) abgelaufen ist kommt der Countdown, aber danach bleibt man auf dem Server.
Habe ich was falsch gemacht? Liegt es daran, dass ich OP bin?
Lg DeagolMC
Nein, am OP liegt es nicht. Das spielt für mein Plugin keine Rolle.
Es liegt an dem Wert "1Minute". Eine Minute funktioniert intern nicht. Es gibt einen internen timer, der eine Minute herunterzählt, wenn für dich "die letzte Minute" deiner täglichen Spielzeit angebrochen ist. Setzt du nun den Wert auf 1, ist deine letzte Minute um, bevor der kick Countdown abgelaufen ist und deshalb wirst du dann auch nicht gekickt.
Du musst einen Wert von min. 2 Minuten einstellen, damit die Timer in der letzten Miunute synchron laufen können, dann funktioniert es auch... 1 Minute ist nun auch ein etwas sehr unrealistischer Wert für die tägliche Onlinezeit.
Grüße Bullit
Mit der neuen Version 1.3 geht nun auch der Wert 1 Minute. Allerdings ist die Zeit dann vom intern laufenden Timer abhängig, was bedeutet, dass man nicht auch unbedingt eine Minute zur Verfügung hat. Man wird dann gekickt, wenn der interne Timer die nächste Minute voll hat.
Grüße Bullit