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) :
Ah non je suis déjà deux maximum et minimum 512. Quel schematic pose problème ? Et dès fois ça bloque pendant le chargement de la map pas des schematics sans message d'erreur.
J'ai mis une RAM de 1GO je vais tester à 2 et je te dis
@MisterIdeas
Ca vient pas de PlayUHC mais de WorldEdit d'après le log d'erreur.
C'est possible que le copier coller duschematic à réaliser soit trop gros car le serveur n'a pas assez de ram.
Tu as mis combien ?
Si tu ne peux pas augmenter ta RAM essaie avec des schematics plus petits.
Dès fois le serveur se bloque pendant que la map se load, on est obligé de le restart. Et après il m'arrive d'avoir des erreurs qui spamment les consoles.
[18:48:04] [Server thread/ERROR]: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.PlayerInputEvent@2825b84d to handler EventHandler{priority=NORMAL} java.lang.reflect.InvocationTargetException at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.WorldEdit.handleArmSwing(WorldEdit.java:652) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerInteract(WorldEditListener.java:132) [worldedit-bukkit-6.1.jar:?] at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_75] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:227) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.PlayerInteractManager.a(PlayerInteractManager.java:107) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:604) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:40) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:10) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_75] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_75] at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:764) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:372) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:703) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:606) [Spigot.jar:git-PaperSpigot-07ff818-0a645a2] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75] Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_75] at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) [worldedit-bukkit-6.1.jar:?] ... 26 more Caused by: java.lang.NoSuchMethodError: ru.tehkode.permissions.PermissionManager.has(Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;)Z at com.sk89q.wepif.PermissionsExResolver.hasPermission(PermissionsExResolver.java:68) [worldedit-bukkit-6.1.jar:?] at com.sk89q.wepif.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:173) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.bukkit.BukkitPlayer.hasPermission(BukkitPlayer.java:144) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.extension.platform.PlayerProxy.hasPermission(PlayerProxy.java:143) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.session.SessionManager.get(SessionManager.java:168) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.extension.platform.PlatformManager.handlePlayerInput(PlatformManager.java:417) [worldedit-bukkit-6.1.jar:?] at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_75] at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) [worldedit-bukkit-6.1.jar:?] at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) [worldedit-bukkit-6.1.jar:?] ... 26 more
@MisterIdeas
Ok je regarderai ça
@brodieplay
Please share your config files (config.yml and lang.yml) I'll have a lookt at it.
Demande de correctif : - Il y a un deuxième TP juste avant l'activation du PvP dans l'arène et c'est très dérangeant. - Dégâts de chute pendant le TP dans l'arène - Mettre 10 secondes d'attente avant le TP au Lobby (BungeeCord)
@vak59000 when i change what it says in chat and the prefix the plugin wont work
Merci c'était ça. J'ai toujours les dégâts de chute pendant le TP en DeathMatch.
@MisterIdeas
Met à jour ton worldedit. Pour moi ça fonctionne avec la dernière version pour 1.8.6
J'ai mis un coffre rempli dans le nether.schematic mais il est vide quand on va sur la map !
Demande de correctif :
Dégâts de chute pendant le TP en DeathMatch.
@fr233
I don't think so but you can give it a try.
However I recommend you to update to Spigot 1.8 as it is used by many servers now.
can it work with 1.7.10?
@jonah101010
Thanks for the suggestion. I'll add an option to prevent PlayUHC from modifying the chat formatting, this way you will be able to use another plugin to do what you want. Is this what you need ?
Introducing fast uhc (= uhc run)
Release 1.7.0
Added: Fast uhc mode (= uhc run) , see all the new features under the config option fast-mode
Added: Configurable minimum number of players to start, see config min-players-to-start
Added: Configurable height to paste shematics, see paste-arena-at-y and paste-nether-at-y
Added: debug config option to skip the map loader, launch the server faster, useful when you are making changes to your config (see config debug)
Fix: countdown before start was buggy above 15s
THERE ARE NUMEROUS ADDITIONS IN config.yml
TO AVOID DEBUGGING, PLEASE REMOVE YOUR config.yml TO GENERATE A NEW ONE
THEN JUST SYNC WITH YOUR BACKUP FILES THE NEW VALUES INSIDE THE NEW FILES
It will be available as soon as it is validated
Hey @val59000 could you add the feature to customize chat formatting? And variables for rank prefixes/suffixes :D
J'ai déjà réussi à me débrouiller pour les UHCRun avec d'autres plugins :D Tu peux rajouter une option pour mettre un nombre de joueurs minimum avant que le compte à rebours se lance ? Et aussi dès qu'on met un temps d'attente supérieur à 15 secondes il n'y a pas les messages avant 15 secondes donc on entend que le bruit et c'est assez bizzare x)
Possible d'avoir ces deux trucs rapidement ? Même si je sais que c'est sur ton temps libre les joueurs en demandent tout le temps x)
Merci ;)
Currently working on the fast mode (= uhc run)
What important features would you like to have in this mode ?
Je travaille sur le mode fast uhc (= uhc run)
Quelles fonctionnalités importantes souhaiteriez-vous avoir dans ce mode ?
@MisterIdeas
C'est bien ce qu'il faut faire.
Envoie moi ton fichier de config et ton schematic pour voir s'il n'y a pas effectivement un bug.