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
Awesome but how can i edit it so the player get kicked after 15 minutes but can play 2 times at day not onyl one? Thx
@MrBeefchop
Hey :)
Nein, aktuell kann man nur umstellen, ob man gebannt oder nur gekickt wird. Wer ein Mal stirbt ist aber raus.
Hi Bullit, kann man irgendiwe die Tode umstellen, dass man erst nach den z.B. 5 Tod erst gebannt bzw. gekickt wird?
@bunnyhunter12
In deinem "plugins" Ordner, in den du auch die GoGoBanYourself.jar kopiert hast und der neben deiner Server "Bukkit.jar" liegt, wird beim ersten Start deines Servers mit GoGoBanYourself ein Ordner "GoGoBanYourself" angelegt. In dem liegt dann auch die config.yml in der man alles anpassen kann.
Grüße Bullit
Hi Bullit My english is not the best im coming from Germany and i have a questtion. How i get in the config i really don´t know it. Im useing the Server Nitrado.
Thanks for help Bullit
Hey Bullit,
Wir nutzen dein Plugin nun seit ca. 6 Wochen und sind sehr zufrieden!
Leider gibt es 2 Sachen die uns etwas stören:
1. Seit dem Plugin zeit der Server keine Todesnachrichten mehr im Chat an! Hast du vll eine Idee wieso? oder liegt das an der Bann- Funktion des Plugins?
2. Wäre es Super, wenn man die Serverzeit eines einzelnen reseten kann und nicht nur von allen!
Gerne können wir das in Skype bereden, wenn du magst (add dort "Zerstrer")
Vielen Dank für deine Mühen :)
Schreib mir bitte in Skype, mit ausführlicheren Angaben oder mach ein Ticket auf. Das hier sind Kommentare und nicht das Bugtracking o.ä.
Welche Version des Plugins hast du?
Welche Bukkit Version hat dein Server?
Welche Javaversion hast du installiert?
Hast du eine der yml-Dateien editiert?
Hallo,
wenn ich das Spiel mit startgame starte, kommt folgende fehlermeldung:
Das geht nich. Entweder man meldet sich für ein Projekt an und hat auch die Zeit dafür, oder man muss eben in Kauf nehmen, dass man einen tag vergeudet. Ihr spielt ja auch immer in Temas, das müsste für den Teamkollegen dann ja genau so zählen. Was bedeuten würde, dass man immer nur zusammen auf den Server können darf. Wie stellst du dir das also vor?
Hello,
I really like your Plugin, but have one Question:
Lets say someone play on the day 20 min because of no TIme. How can I confugurate it, that if he go next day in the server he has 1 hour and 40 min????
Thanks for Reply and you can Reply on german or english :)))
Hallo,
Ich plane gerade ein Projekt und ich bräuchte dieses Plugin für die 1.7.10 in einer Weektime Version wenn es möglich wäre fände ich und bestimmt auch viele andere es nützlich.
Sorry, so eine Funktion ist aktuell nicht implementiert.
@yeahyo
No, I don't want to put the source code online. If you have any questions about my technique or how I solved some specific things, you can gladly contact me via email or skype.
Hallo,
hier findest du, wie auch die 1.8 Version, die gegen Spigot 1.7.10 kompilierte Version:
http://dev.bukkit.org/bukkit-plugins/gogobanyourself/files/11-gogo-ban-yourself_v1-3c_cb_1-7-10/
Diese läuft definitiv auch mit CraftBukkit 1.7.9 oder Spigot 1.7.9. Die .jar Datei legst du einfach, wie bei nahezu jedem anderen Plugin auch, über Filezilla in dein plugin Verszeichnis und startest den Server anschließend (neu). Danach findest du in deinem plugin Ordner einen GoGoBanYourself Ordner in dem auch die config.yml zum Einstellen des Plugins liegt.
Wenn du an der config.yml Änderungen vornimmst, musst du anschließend den Server einmal neustarten oder /gogo reloadconfig ausführen um die Änderungen zu übernehmen.
Grüße Bullit
Hi,
Ich möchte das Plugin gerne für die Version 1.7.9 haben aber immer wenn ich es mit fulezilla installieren möchte geht es nicht ...kann mir da jemand weiterhelfen ??
Danke :)
Can you put the source code on https://github.com/ ? I will not steel it. Only want to know, how you solve some things
Hallo,
ich mag es persönlich auch, viele Dinge frei konfigurieren zu können. Leider ist es meiner Erfahrung nach aber so, dass die meisten Anwender meines Plugins schon mit der aktuellen Fülle an konfigurierbaren Parametern überfordert sind und ich deshalb auch nicht alles in die config.yml mit aufnehme.
Außerdem ist das hier GoGoBanYourself und nicht Varo. Ich habe nie irgendwo behauptet, dass ich einen 100%igen Varo Klon programmiere. Dennoch bin ich aber weiterhin dran das Plugin weiter zu entwickeln und neue Funktionen einzubauen.
Ja, ich habe den Quellcode natürlich verfügbar. Und nein, ich möchte nicht, dass irgend jemand anderes an meinem Quellcode rumwerkelt oder irgendwelche Funktionen in meinem Plugin unterbringt und dann in meinem Namen veröffentlicht.
Ganz so einfach in einer Zeile, wie du es dir hier vorstellst ist das leider auch nicht abzuhandeln. Oder wo in dieser einen Zeile ist z.B. die von dir ersehnte Möglichkeit das ganze über die config.yml konfigurierbar zu machen? Da hängt doch schon etwas mehr dran als nur den Eventtyp abzufangen. Außerdem hab ich noch einige weitere Funktionen in Planung, die ich gerne implementieren möchte.
Grüße Bullit
Hallo und danke,
möglich ist diese Änderung schon, aber als sinnvoll erachte ich sie nicht und werde es daher auch nicht ändern. Wenn du im Hardcore Modus spielst biste auch tot nachdem du gestorben bist und das ist ja das was sonst immer alle wollen. Ich wüsste nicht, warum jemand der von einer Klippe stürzt oder von einem Creeper getötet wird nicht gebannt werden sollte.
Außerdem wäre die Änderung sicher anstrengender als ab und zu mal, in so einem wie von dir beschriebenen Ausnahmefall, ne UUID aus einer Datei zu löschen.
Grüße Bullit
Grundsätzlich gebe ich Dir Recht. Ich mag es nur, wenn Plugins viele Dinge konfigurierbar haben :) Ausserdem sieht es bei Varo etwas anders aus. Da macht es durchaus Sinn, das so einstellen zu können.
Die Änderung selbst stelle ich mir nicht so kompliziert vor. Ich nehme an, die verarbeitest irgendwo den PlayerDeath event, um den betroffenen Spieler zu bannen.
Pack davor einfach "if (evt.getEntity().getKiller() instanceof Player)" und gut ist.
Hast du die Sourcen verfügbar? Dann entwickle ich die Änderung für Dich und stelle einen Pull Request ein.
Servus,
ein wirklich klasse Plugin, vielen Dank dafür. Wäre es möglich eine kleiner Änderung dahingehend einzubauen, dass nur ein Tod durch einen anderen Spieler zum Bann führt? Mobs und andere Tode sollen nicht zählen.
Ich habe momentan gerade ein Varo Event mit knapp 30 Spielern am laufen und ein Spieler wurde beispielsweise durch einen Fehler in WorldBorder getötet.Die UUIDs immer löschen ist auf Dauer anstrengend :)
Gruß
Thomas