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) :
Je rajoute dans ma demande de correctif : Messages de rappel avant le death match. (5 minutes, 4, 3, 2, 1, etc...)
Oui pourquoi pas même 1.8.7 c'est des mises à jour de sécurité il faut les faire de toute manière.
@brodieplay
Please share your code on pastebin . It is unreadable here.
Je suis en effet sur Spigot 1.8.3 je dois update du coup ?
@MisterIdeas
Il te faut Spigot 1.8.6 et WorldEdit 1.6.1, j'ai l'impression que tu est sous une ancienne version de Spigot
L'erreur de plantage disparaît quand j'enlève la pré génération donc ça va. L'erreur de WorldEdit est toujours présente en réinstallant. En remettant la version d'avant je n'ais plus l'erreur mais comme je t'avais dis les coffres sont vides sur le nether.schematic. Donc l'erreur vient du changement de version de WorldEdit et pas d'un problème de mémoire ou je ne sais quoi. Une idée pour la résoudre ?
@val59000
minimal-ready-teams-percentage-to-start: 60 minimal-ready-teams-to-start: 2 max-players-per-team: 2 auto-assign-new-player-team: false prevent-player-from-leaving-team: false team-always-ready: false time-to-start-when-ready: 15 time-before-pvp: 600 can-spectate-after-death: false can-join-as-spectator: false can-send-messages-after-death: true kill-disconnected-players-after-delay: enable: true delay: 60 time-before-restart-after-end: 30 countdown-ending-game-when-all-players-have-left: true auto-20-min-broadcast: false potion-effect-on-start: - DAMAGE_RESISTANCE/900/100 - REGENERATION/900/10 customize-game-behavior: allow-ghast-tears-drops: true add-regen-head-drop-on-player-death: true add-xp-drops-on-player-death: enable: false quantity: 200 add-gold-drops: enable: false min: 0 max: 3 drop-chance-percentage: 30 affected-mobs: - CREEPER - GHAST add-player-extra-half-hearts: enable: false extra-half-hearts: 20 enable-crafts-permissions: false add-custom-crafts: light-apple: '1': AIR/1/0 GOLD_INGOT/1/0 AIR/1/0 '2': GOLD_INGOT/1/0 APPLE/1/0 GOLD_INGOT/1/0 '3': AIR/1/0 GOLD_INGOT/1/0 AIR/1/0 craft: GOLDEN_APPLE/1/0 limit: -1 light-anvil: '1': IRON_INGOT/1/0 IRON_INGOT/1/0 IRON_INGOT/1/0 '2': AIR/1/0 IRON_BLOCK/1/0 AIR/1/0 '3': IRON_INGOT/1/0 IRON_INGOT/1/0 IRON_INGOT/1/0 craft: ANVIL/1/0 limit: 1 ban-nether: false ban-items-crafts: - GOLDEN_APPLE/1 ban-level-2-potions: false always-day: true sound-on-player-death: false enable-kits-permissions: false kits: tools: symbol: item: STONE_PICKAXE name: Kit Tools items: - 1 STONE_SWORD - 1 STONE_PICKAXE - 1 STONE_AXE - 1 STONE_SPADE ench: symbol: item: ENCHANTED_BOOK name: Enchanting items: - 15 PAPER - 5 LEATHER playing-compass: true spectating-teleport: true pre-generate-world: enable: false rest-every-ticks: 20 rest-duration: 20 chunks-per-tick: 10 border: moving: false start-size: 500 end-size: 0 time-to-shrink: 3600 time-before-shrink: 0 time-limit: enable: false limit: 3600 end-with-deathmatch-after-time-limit: false deathmatch-teleport-spots-block: BEDROCK worlds: overworld: 752d2569-f551-4b1d-9703-07c0f260489b nether: ee4e0b12-8502-461d-9065-9e61ce311294 world-seeds: pick-random-seed-from-list: false list: [] world-list: pick-random-world-from-list: false list: [] bungee-support: enable: True send-players-to-server-after-end: hub
@val59000
game: enough-teams-ready: Ok, enough teams are ready. starting: Starting the game now ! starting-in: Starting in %time% seconds. starting-cancelled: Game starting was cancelled because not enough teams are ready finished: The game is finished ! end-stopped: Game ending stopped shutdown: Server will shutdown in %time% seconds. sending-to-hub: Sending you to the lobby please-wait-teleporting: Please wait while all players are being teleported. start-deathmatch: Starting the deathmatch ! Prepare yourself until PVP is enabled ! border-start-shrinking: The border will now begin to shrink players: nether-off: The nether has been disabled for this game. welcome-new: Welcome to BrodieNetwork UHC, please select your team welcome-back-in-game: You logged back in the game welcome-back-spectating: You are dead and are now spectating. eliminated: '%player% has been eliminated !' won: '%player% won the game !' all-have-left: All players have left, game will end in ff-off: Friendly-Fire is disabled display: message-prefix: '[BrodieNetwork UHC]' youtuber-mark: Youtubers cut ! Next cut in 20 min motd-loading: Loading ... motd-waiting: Waiting ... motd-starting: Starting motd-playing: Playing motd-ended: Ended kick: loading: Loading. Please retry in a few minutes. starting: Starting ... Too late to join. playing: Playing ... You can't join. ended: Ended ... Please retry in a few minutes. dead: You are dead ! command: chat-global: You are now talking to everyone chat-team: You are now talking to your team chat-help: Type '/chat' or '/c' to toggle global chat chat-error: You can only use that command while playing spectating-teleport-error: You can't teleport to that player spectating-teleport: Teleporting to %player% spectating-help: Use '/teleport <player>' to teleport to a playing player team: player-not-online: '%player% isn''t online.' player-join-not-online: That player isn't online, he can't join your team leader-join-not-online: The team leader isn't online, you can't join his team inventory: Team selection cannot-join-own-team: You can't join your own team ready-toggle: Click to change ready-toggle-error: The game is starting, you can't change that now ! now-ready: Your team is now ready ! now-not-ready: Your team is now NOT ready ! ready: Ready not-ready: Not ready not-leader: You are not the leader of that team join-as-player: You have join %leader%'s team player-joins: '%player% has joined the team' leave-as-leader: You have left your team, %newleader% will be the new leader leave-as-player: You have left the team player-leaves: '%player% has left the team' leader-leaves: Team leader %leader% has left the team, %newleader% is the new leader cant-leave: You can't leave your team, you are alone. deny-request: You denied %player% to join your team. denied-request: The team leader %leader% denied your team request. no-longer-exists: That team no longer exists. request-head: Team request request-sent: Request sent to %leader% request-received: '%player% has sent you a team request, Right click to accept, Throw it to deny' request-already-sent: You have already sent a request to that team already-in-team: You are already in a team player-already-in-team: '%player% is already in a team' full: '%player% cannot join %leader%''s team because the team is full (%limit% players)' scoreboard: kills: Kills team: Your team life: HP border: Border time: Time left items: sword: Right click to choose your team barrier: Leave your team regen-head: Right click to regen your team for 5 seconds regen-head-action: You get a 5 seconds regen effect for eating a player head compass-playing: Right click to point to a teammate compass-playing-error: There is no playing teammate to point to. compass-playing-pointing: Pointing towards %player%'s last location kit-selection: Right click to choose a kit kit-inventory: Kit selection kit-selected: You selected the kit %kit% kit-no-permission: You don't have the permission to use that kit craft-no-permission: You don't have the permission to craft %craft% craft-left-click: You can only craft one %craft% at a time (left click). craft-limit: You have used all of your %limit% %craft% crafts. craft-crafted: You have crafted a %craft% craft-book: Right click to see the custom crafts craft-book-inventory: Custom crafts craft-book-back: Back to crafts list craft-banned: Sorry, this craft is banned. potion-banned: Sorry, level 2 potions are banned. pvp: enabled: PVP enabled ! start-in: PVP will start in
Et l'erreur pendant quand ça bloque pendant la pré génération :
J'ai trouvé une autre erreur :
Sachant que ça se passe uniquement sur mes serveurs UHCRun et que j'ai testé sans les plugins en plus dans les UHCRun j'exclue les conflits de plugins. Et j'ai pris la 1.6.1 pour les versions 1.8 donc jvois pas le soucis. C'est toi qui m'a dit de update.
@MisterIdeas
Comme tu peux le voir ça vient de WorldEdit. Soit tu as un conflit avec un autre plugin, soit tu n'as pas installé la bonne version pour ton serveur.
Je retire :/ J'ai toujours la même erreur avec la pré-génération désactivée :
J'ai trouvé, c'était un conflit avec TreeAssist, ça à l'air réglé ;)
Je t'ai envoyé le log complet par MP. Par contre pour désactiver les loots modifiés c'est bien block-loot: [] ? Car si c'est ça j'ai désactivé le cassage des arbres chez toi et les loots modifiés donc il ne devrait pas y avoir de conflit avec mes autres plugins qui font ce travail, si ? Je sais que ça vient forcément d'un des deux plugins puisque ça se passe uniquement sur mes UHCRun
@MisterIdeas
Je t'ai répondu par mp
Erreur toujours présente en enlevant la pré génération.
MP envoyé, pour info j'ai toujours des erreurs dans les logs et ça continue à bloquer quelques fois pendant le chargement de la map. Faut arrêter de pré générer la map du coup ?
Je t'envoie un MP avec tous mes fichiers.
@MisterIdeas
Aucune idée je n'ai pas tes fichiers. Envoie les moi ainsi que ta config si tu veux que je teste.