PlayUHC
<small>Credits to EnergizerBEAST1 for making the picture</small>
PlayUHC
Note:This plugin is not maintained anymore.
I can't provide any support to help you get started with.
A better version might be released some time later when I have time.
The source code is provided "as is", no copyrights, do what you want with it : https://bitbucket.org/val59000/playuhc
Overview
PlayUHC is a free Bukkit plugin for 1.8 It allows you to automate Ultra Hardcore games on a dedicated server !Warning
PlayUHC is meant to be used alone on a dedicated server. You shouldn't be using this plugin on a multiworld server. This plugin automatically loads/deletes/creates new worlds by its own.Main features
- Easy GUI team creation (no commands)
- Configurable teams thresholds / limits / auto-start
- Custom kits (+permissions support)
- Custom crafts (+permissions support)
- Custom gold and experience drop
- Killing a player can rewards an eatable player head to regen your team
- World generation : random OR pick random seeds from a list OR copy your custom worlds
- Pre-generates worlds to avoid lags
- Configurable world border size and movement
- Nether enabled and only twice smaller than overworld instead of minecraft default 8
- Scoreboard display (teamates, lives, border)
- Random teams teleport when starting
- Compass to find your teammates
- Auto restart feature (spigot) and bungee-support to send players to lobby at the end
- Fully configurable text string to translate to your langage (FR version : https://mega.co.nz/#!Vt42jJYA!KJSpZCP2YQDcj5Oh1gQ2RMyh8IFdrqf_mc9oKyhrxQk)
- Optional features to run in fast mode (= uhc run)
- And more ...
How to use
Configuration Just drop PlayUHC.jar in the plugins folder. Start your server and stop it This will create the default config file. Click here to have more info on how to configure the plugin. You can also change all the plugin messages inside lang.yml to translate to another language Once the plugin is configured as you wish, restart your server. The map will load and then players will be allowed to join. They will be teleported to the lobby when they join. If you want a custom lobby instead of the default glass generated one, just drop the schematic named lobby.schematic inside plugins/PlayUHC. To make it load you need to have WorldEdit installed too. The center of the lobby is where you were when you typed //copyHow to play
When you first login, you receive an iron sword. Right click it to access to the team menu. Click on a player head to send a team request. The other player will receive your head and can right click to accept or throw it to deny your team request To start the game, at least 3 teams (by default in config.yml) must be ready. To get your team ready, just click the red wool in the team menu. The game will then start within 15 seconds. Players will be teleported to random spots on the map, by teams. You can also choose a custom kit by right clicking the iron pickaxe when you are in the lobby. You can toggle kit permissions in the config During the game, player automatically chat with their team. To toggle global chat, they need to type /chat With team compass, right click it and it points to your playing teammates When spectating, you have access to '/teleport <player>' to teleport yourself to one of your playings teammates.Map generation
If the list of seeds in the config is empty and pick-random-seed-from-list is set to false, the plugin will generate a random map so you might get a lot of ocean in it which is not good for an UHC game. To avoid getting to much ocean you can write a list of custom seeds in the config and set pick-random-seed-from-list to true. This way, it will pick a random seed from this list each time the server generate a new map. To help you get a list of seeds with not so much ocean, I recommend to use this little program : AMIDST.Auto-restart
When the game is finished, the plugin calls first the restart command from Spigot. So you can write the script you need to restart your server in restart.sh Then, if the restart command doesn't exist (ex: Craftbukkit without Spigot), it then calls the stop command I recommend you to use Spigot to be able to automate the start of your serverVideo reviews
Review by JaxBillzSome screenshots
Team selection :Kit selection :
Custom crafts :
MOTD support :
Scoreboard display :
Lightning effect on player death :
Kick on death (optional) :
<<reply 2649246="">>
<<reply 2649255="">>
For a classic UHC game I'm using :
minimal-ready-teams-percentage-to-start: 60
minimal-ready-teams-to-start: 2
min-players-to-start: 18
max-players-per-team: 3
auto-assign-new-player-team: true
force-assign-solo-player-to-team-when-starting: true
prevent-player-from-leaving-team: false
team-always-ready: true
time-to-start-when-ready: 90
@ItsLemonmelon
When the title contains color chracters it takes some place too, try to remove the colors. The config is detailed on this page.
This plugin is overriding the whitelist and another issue I am having is that the game will not start.
I am getting the OK enough teams to start message but no countdown or gamestart.
minimal-ready-teams-percentage-to-start: 30 minimal-ready-teams-to-start: 1 min-players-to-start: 0 max-players-per-team: 2
I have tried many combinations of the above in config. I am trying to set it up so either just myself or with the help of my moderator we can test this plug before launching to our server.
Any help appreciated.
Salut,
Je suis au bord du pétage de plomb. Je commence à en avoir très clairement marre de tous ses lags qui arrivent quand ils veulent et qui durent autant qu'ils veulent. Cela fait des semaines que je cherche une solution pour les lags, les joueurs se plaignent, et partent. Donc si tu pouvais me confier un peu de ton temps pour étudier le problème sur place ou me donner une solution ça serait cool. Éventuellement par Skype.
@val59000
EDIT: I just realized McProHosting servers are on Java 7, but it also says if I make a ticket to switch to Java 8, it'll be solved, thanks, I'll see what happens after that.
@ItsLemonmelon
I even set it to lowest as possible.
What does the minimal ready teams percentage mean?
@val59000
Now, it won't auto-start.
@ItsLemonmelon
Then put less characters, it's a Minecraft limitation, there is no fix for that.
The GUI kit and stuff doesn't work, because it can't be longer than 32 characters. Fix? Can you add lang.yml option to change gui title message?
@MisterIdeas
C'est normal que ca lag quand ca génère de la map. Pour limiter le lag, il y a des options dans la config pour régler la vitesse de génération.
Pour limiter le cpu il faudra que tu le limites au niveau du process de la JVM, à toi de chercher, ça doit être possible.
En fait ton plugin consomme énormément de CPU sur ma machine, les coeurs sont constamment à 100% pendant les chargement de maps et du coup les autres serveurs lagguent à mort. Il n'y a pas un moyen de limiter l'usage de CPU ou d'optimiser le chargement des maps ? Parce que ça craint vraiment là ...
@MisterIdeas
Non je n'ai pas encore réussi à le reproduire, je ne sais donc pas pourquoi il y a cette erreur. Je n'ai pas de date de résolution à te donner.
Toujours pas de fix pour le bug de génération ?
@val59000
C'est bon je te l'ai envoyé en message privé ;)
@MonsieurAndyx
Envoie ton schematic pour voir
@val59000
Ouais mais pourtant la schematic est correcte ! Donc je sais pas d'où sa viens... Le problème des mondes laisse tombé, je prend par génération des mondes c'est mieux ;)
J'aimerais que tu m'aide à réparer le problème du lobby.schematic !
@MonsieurAndyx
La config a l'air bonne ton schematic est certainement vide lui meme. Pour les mondes je vais faire des tests.
@MisterIdeas
Les chutes de tps viennent probablement d'un autre plugin, playuhc ne fait quasi rien pendant le jeu à part mettre à jour le scoreboard. A la fin oui le tp est long, une optimisation est prévue.
Salut,
Y'a des chutes de TPS incroyables à certains moments c'est vraiment très embêtant pour les joueurs ... Egalement le TP pour le DeathMatch est très long et ça lag.
Comment on peut faire pour régler tous ses lags ?
@val59000
Et pour le lobby.schematic, il y a qu'un bloc invisible qui sait créer mais sinon rien d'autre... Donc je sais pas d'où vient le problème ! Mais également en même temps pour le fichier qui redémarre le serveur (restart.sh), j'en n'est mis 1 mais c'est pareil il ne fonctionne pas... Voici ce qu'il contient : http://pastebin.com/ZMZrv9Vh
Voilà le log complet de la console : http://pastebin.com/VbvZi00p (désolé me suis trompé le 1er pastebin, celui-ci c'est le bon) J'espère que tu va pouvoir m'aider dès ce soir sa serais cool ;)