Sueta

HideRails

0.7.4-SNAPSHOT

Hide rails, ladders, command blocks, redstone or signs and replace them by other blocks.

·Plugin

This plugin is inspirated by Timtower developer ideas (RailsLikeMe), but is fully developed by myself (Nepta_).
Thanks to BergerKiller developer for his help.

Description :

EN :

- Hide rails, ladders, iron bars (ex: hanging train), command blocks, redstone (ex: train systems) or signs (ex: TrainCart sign) and replace them by other blocks without blocking Minecart working.
- Protection of rails and redstone underwater integrated (can be disable for each map).
- Fully customisable language.
- Compatible Worldedit

FR :
- Remplacez les rails, les échelles, les barreaux en fer (ex: train suspendu), les blocs de commande, la redstone ou les panneaux (ex: panneau de changement de vitesse TrainCart) par le bloc que vous voulez sans empêcher les Minecart de se déplacer dessus/dessous.
- Protection de la redstone et des rails intégrée et désactivable pour chaque monde avec une commande ou directement dans le fichier config.yml du plugin.
- Langue entièrement personnalisable.
- Compatible avec Worldedit

IT :
- Nascondi binari, scale, sbarre di ferro (es: treno sospeso), command block, redstone (es: sistemi di treni) oppure cartelli (es: cartelli del plugin TrainCart) e sostituiscili con altri blocchi senza bloccare il funzionamento dei Minecart.
- Protezione di binari e redstone sott'acqua integratata (può essere disattivata per ogni mondo).
- Lingua completamente personalizzabile
- Compatibile con WorldEdit

HU :
- Síneket, létrákat, vasrácsokat (például lógó vonaton), parancssori blokkokat, redstone-t (pl. Vonatrendszert) vagy táblákat (pl. TrainCart jelet) ki cseréli, és azokat más blokkokkal lezárnja anélkül, hogy blokkolnák a Minecart működését.
- A redstonek és a sínek védelme integrált (letiltható minden térképen).
- Teljesen testreszabható nyelv.
- Kompatibilis a WorldEdit pluginnal

ES:
- Esconde railes, escaleras, barrotes de hierro (ej: tren colgante), bloques de comandos, redstone (ej: sistema de trenes) o carteles (ej: cartel de TrainCart) y reemplazalos por otros bloques sin bloquear el funcionamiento de Minecraft.
- Proteccion de railes y redstone bajo el agua (puede ser desactivado en cada mapa).
- Lenguaje totalmente customizable.
- Compatible con Worldedit.

You can suggest your language

Rails and redstone protection underwater :

2018-03-31_17.49.26-2.jpg

2018-04-29_12.13.17-1.jpg

2018-04-19_19.54.16-1.jpg

Configuration files :

config.yml
#############################################################
#'                                                         '#
#                 Plugin HideRails by Nepta_                #
#'                                                         '#
#############################################################

# Language of all messages in plugin
# You can create your custom language (copy
# and paste existing language file and remake it)
language: FR

# Enable rails hidding
hideRails: true
# 'Enable Iron bars hidding (ex: TC-HangRail hanging train)'
hideIronBars: false
# Enable Command blocks hidding (include 3 types of command blocks)
hideCommandBlock: false
# Enable Redstone hidding (include levers, ...)
hideRedstone: false
# 'Enable Signs hidding (ex: TrainCart sign)'
hideSigns: false

# Particle who spawn in hidden-blocks if player execute /hr display command
hiddingBlocksParticles: true

# HiddenBlocks view distance
viewDistance: 100

# Plugin update message sent when admin player join the server
adminsUpdateMessage: true

# Enable or disable water-protection for each world
# _all_ is waterprotection for all worlds if no world is defined
redstoneWaterProtection:
  _all_: true
  pvpfac: true #World example
HiddenRails.yml

Saved rails example :

hiddenRails:
  world:
  - world,757.0,2.0,8.0;WATER;0
  - world,757.0,2.0,11.0;WATER;0
  - world,757.0,2.0,10.0;WATER;0
  - world,757.0,2.0,9.0;WATER;0
  - world,757.0,2.0,8.0;WATER;0
  - world,757.0,2.0,7.0;WATER;0
update.yml
# Configuration for the SpigotUpdate system
# 'enabled' specifies whether the system is enabled
enabled: true
EN (English) language translation
# Translation by Nepta_
messages:
  sender_type_error: '&cYou must be a player to execute this command!'
  player_no_enough_permission: '&cYou do not have permission to execute this command!'
  rail_success_change: '&2You have replaced the rails with %blocktype%!'
  material_type_error: '&cThis bloc does not exist!'
  rail_error: '&cThe target block is not a rail!'
  rail_success_break: '&2You have broken a hidden rail!'
  rail_success_unhide: '&2You have displayed the rails!'
  water_protection_status_success_change: '&2You have %status% the under-water protection
    in %world%'
  invalid_worldname: '&cThis world name is invalid!'
  plugin_success_reloaded: '&2Plugin successfully reloaded'
  water_protection_status_already: '&cThe underwater protection in %world% is already
    %status%'
  no_backup: '&cNo backup available!'
  return_backup_success: '&2successfully restored backup!'
  display_hidden_blocks: '&2You have %hide% the hidden blocks for you!'
  invalid_player: '&cThe player cannot be found!'
  update_found: '&bNew update Available!\n&o%link%'
  kick_spam_hidden_block: '&cDon't spam blocks please!!'
  hiderails_no_selection: '&cYou must first select region with wooden-axe!'
  hiderails_selection_pos: '&8You have selected position &e%pos%'
  selection_message_status: '&8You have &e%status% &8selection messages!'
FR (French) language translation
# Language by Nepta_
messages:
  sender_type_error: '&cSeul un joueur peut executer cette commande !'
  player_no_enough_permission: '&cVous n''avez pas la permission d''éxécuter cette
    commande !'
  rail_success_change: '&2Vous avez remplacé les rails par %blocktype%'
  material_type_error: '&cCe bloc n''existe pas !'
  rail_error: '&cLe bloc que vous visez n''est pas un rail !'
  rail_success_break: '&2Vous avez cassé un rail masqué !'
  rail_success_unhide: '&2Vous avez fait re apparaitre les rails !'
  water_protection_status_success_change: '&2Vous avez %status% la protection de la
    redstone sous l''eau pour le monde %world%'
  invalid_worldname: '&cMonde invalide !'
  plugin_success_reloaded: '&2Plugin rechargé avec succès !'
  water_protection_status_already: '&cLa protection de la redstone et des rails sous
    l''eau dans le monde %world% est déja définit sur %status%'
  no_backup: '&cAucune sauvegarde disponible !'
  return_backup_success: '&cSauvegarde restorée avec succès !'
  display_hidden_blocks: '&2Vous avez %hide% le masquage des blocks pour vous !'
  invalid_player: '&cLe joueur n''est pas connecté/n''existe pas !'
  update_found: '&bUne nouvelle mise à jour est disponible !\n&o%link%'
  hiderails_no_selection: '&cVous devez d''abord sélectionner une region avec la hache
    en bois !'
  hiderails_selection_pos: '&8Vous avez sélectionné la position &e%pos%'
  selection_message_status: '&8Vous avez &e%status% &8les messages de sélection !'
IT (Italian) language translation (by Sitieno14)
# Grazie a Sitieno14 per la traduzione in italiano
messages:
  sender_type_error: '&cDevi essere un giocatore per poter eseguire questo comando
    !'
  player_no_enough_permission: '&cNon hai il permesso per eseguire questo comando
    !'
  rail_success_change: '&2Hai rimpiazzato i binari con %blocktype% !'
  material_type_error: '&cQuesto blocco non esiste !'
  rail_error: '&cIl blocco da te bersagliato non è un binario !'
  rail_success_break: '&2Hai rotto un binario nascosto !'
  rail_success_unhide: '&2Hai mostrato i binari !'
  water_protection_status_success_change: '&2Tu hai %status% la protezione sott''acqua
    nel mondo %world%'
  invalid_worldname: '&cIl nome di questo mondo non è valido'
  plugin_success_reloaded: '&2Plugin ricaricato con successo !'
  water_protection_status_already: '&cLa protezione sott''acqua nel mondo %world%
    è già %status%'
  no_backup: '&cNessun backup disponibile !'
  return_backup_success: '&2Backup ripristinato con successo !'
  display_hidden_blocks: '&2Hai %hide% i blocchi nascosti per te !'
  invalid_player: '&cIl giocatore non può essere trovato'
  kick_spam_hidden_block: '§cNon spammare blocchi perfavore !!'
HU (Hungary) language translation (by Zsomi)
# Köszönöm Zsomi-nak hogy leforditotta magyarra !
messages:
  sender_type_error: '&cEzt a parancsot csak játékosként hajtható végre !'
  player_no_enough_permission: '&cNincs jogosultságod ehhez !'
  rail_success_change: '&2Kicserélted a sínt a következő blokkra: %blocktype% !'
  material_type_error: '&cEz a blokk nem létezik !'
  rail_error: '&cA keresett blokk nem sín !'
  rail_success_break: '&2Kiütöttél egy rejtett sínt !'
  rail_success_unhide: '&2Megjelenítetted a sineket !'
  water_protection_status_success_change: '&2Ez a(z) %status% státusza a víz alatti
    védelem ebben a világban %world%'
  invalid_worldname: '&cA világ neve hibás !'
  plugin_success_reloaded: '&aA plugin sikeresen reloadolva(újratöltve)!'
  water_protection_status_already: '&cA víz alatti védelem a(z) %world% világban %status%'
  no_backup: '&cNincsenek mentések !'
  return_backup_success: '&2Sikeresen vissza lett állítva a mentés !'
  display_hidden_blocks: '&2Szamoda a(z) %hide% blokk rejtett !'
  invalid_player: '&cA játékos nem található !'
  kick_spam_hidden_block: '&cNe spameld a blokkokat !!'
ES (Spanish) language translation (by zuhir)
# Gracias a zuhir por la traducción en español !
messages:
  sender_type_error: '&cDebes ser un jugador para poder ejecutar ese comando.'
  player_no_enough_permission: '&cNo tienes permiso para ejecutar ese comando.'
  rail_success_change: '&2Has reemplazado los railes por %blocktype%.'
  material_type_error: '&cEse bloque no existe.'
  rail_error: '&cEl bloque al que miras no es un rail.'
  rail_success_break: '&2Has destruido un rail oculto.'
  rail_success_unhide: '&2Has hecho visibles los railes.'
  water_protection_status_success_change: '&2La proteccion bajo el agua ahora es %status%
    en el mundo %world%.'
  invalid_worldname: '&c&cEse mundo no existe.'
  plugin_success_reloaded: '&2Plugin recargado correctamente.'
  water_protection_status_already: '&cLa proteccion bajo el agua em el mundo %world%
    ya es %status%.'
  no_backup: '&cNo hay copias de seguridad disponibles.'
  return_backup_success: '&2Copia de seguridad reestablecida correctamente.'
  display_hidden_blocks: '&2Tienes los bloques invisibles en %hide%.'
  invalid_player: '&cEl jugador no existe.'
  update_found: '&bNueva actualizacion disponible !\n&o%link%'
DE (German) language translation (by DevSnox)
# Vielen Dank an "DevSnox" für die deutsche Übersetzung !
messages:
  sender_type_error: '&cNur Spieler können diesen Command ausführen.'
  player_no_enough_permission: '&cDir fehlen die benötigten Rechte!'
  rail_success_change: '&2Du hast die Schienen durch %blocktype% ersetzt!'
  material_type_error: '&cDieser Block existiert nicht!'
  rail_error: '&cDer ausgewählte Block ist keine Schiene!'
  rail_success_break: '&2Du hast eine versteckte Schiene abgebaut!'
  rail_success_unhide: '&2Die Schienen sind nun wieder sichtbar!'
  water_protection_status_success_change: '&2Der unterwasser Schutz iwurde auf %status% in %world% geändert.'
  invalid_worldname: '&cDiese Welt existiert nicht!'
  plugin_success_reloaded: '&2Das Plugin wurde erfolgreich neugeladen.'
  water_protection_status_already: '&cDer unterwasser Schutz in %world% ist schon %status%'
  no_backup: '&cKein Backup verfügbar!'
  return_backup_success: '&2Das Backup wurde erfolgreich wiederhergestellt!'
  display_hidden_blocks: '&2Du hast die versteckten Schienen für dich %hide%!'
  invalid_player: '&cDieser Spieler existiert nicht!'
  update_found: '&bEine neue Version ist verfügbar: !\n&o%link%'

Commands :

EN (English)

/hiderails help ➔ see the list of commands
/hiderails reload ➔ reload plugin and refresh rails replacement

/hiderails hideone "block[:data]" ➔ replace one rail, one ladder, one iron bar, ... with other block
/hiderails hide "block[:data]" ➔ replace rails, ladders, iron bars, ... with other block

/hiderails unhide or /hiderails show ➔ show rails, ladders or iron bars
/hiderails unhideone or /hiderails showsingle ➔ show one rail, one ladder or one iron bar

/hiderails hideselection "block[:data]" or /hiderails hideselection "blocksToReplace" "block[:data]" ➔ hide rails, ladders or iron bars with selection
/hiderails unhideselection or /hiderails unhideselection "blocksToReplace" ➔ show rails, ladders or iron bars with selection

/hiderails waterprotection "world" "value" or /hiderails waterprotect "world" "value" ➔ enable or disable protection of rails and redstone underwater ("value" is true or false)

/hiderails return or /hiderails undo ➔ restore last command
/hiderails display ➔ display hidden rails (only for the player who executed the command)

/hiderails display "player" ➔ display hidden rails (executable only in command block)

/hiderails selectionmessage ➔ enable or disable region selection messages (message of HideRails selection tool who replace worldedit)

//pos1 and //pos2➔ like worldedit (compatible command with or without worldedit)

This plugin has tab completion

FR (French)

/hiderails help ➔ voir la liste des commandes
/hiderails reload ➔ actualiser le plugin et les blocs remplacés

/hiderails hideone "block[:data]" ➔ masquer un rail, une échelle, ... que vous visez par un autre bloc
/hiderails hide "block[:data]" ➔ masquer les rails, échelles, ... que vous visez par un autre bloc

/hiderails unhide or /hiderails show ➔ dé-masquer les rails, échelles, ... que vous visez
/hiderails unhideone or /hiderails showsingle ➔ dé-masquer un rail, une échelle, ... que vous visez

/hiderails unhideselection or /hiderails unhideselection "blocs_à_remplacer" ➔ dé-masquer les rails, échelles, ... contenus dans la selection worldedit que vous avez faite
/hiderails hideselection "block[:data]" or /hiderails hideselection "blocs_à_remplacer" "block[:data]" ➔ masquer les rails, échelles, ... contenus dans la selection que vous avez faite, par un autre bloc

/hiderails waterprotection "monde" "true|false" or /hiderails waterprotect "world" "value" ➔ activer/désactiver la protection des rails et de la redstone sous l'eau dans le monde spécifié (true = activée, false = désactivée)

/hiderails return or /hiderails undo➔ restaurer l'action précédente
/hiderails display➔ afficher les blocs masqués (ceux-ci seront visibles seulement par le joueur qui a exécuté la commande)

/hiderails selectionmessage ➔ activer/désactiver les messages de sélection de région (message de l'outil de sélection HideRails remplaçant worldedit)

/hiderails display "player" ➔ afficher les blocs masqués (exécutable seulement dans un bloc de commande)

//pos1 and //pos2➔ identique au plugin worldedit (commande compatible avec ou sans worldedit)

Ce plugin a la tab complétion

Permissions :
hiderails.admin ➔ all permissions

hiderails.help ➔ /hr help
hiderails.reload ➔ /hr reload
hiderails.return ➔ /hr return

Similar projects

Plugin →