Documentation
English:
Installation
- Download the latest NoPortals.jar file
- Put it into your server’s /plugins/ folder
- Start or reload the server
- The plugin will generate a config.yml with default settings
⚙️ Configuration Overview
yaml
log-portal-attempts: true
ignored-worlds:
- eventworld
- testworld
allowed-players:
- McGovernn
- AdminUser123
portal-message: "&cPortal usage is disabled on this server!"
prefix: "§8[§cNo§4Portals§8] §7>> "
Commands
Command
Description
/portal reload Reloads the configuration file
/portal info Shows plugin version and author
Permissions
This plugin does
not require any permissions. All access control is done via the config.yml.
Language Support
English is the default language. All messages can be customized in the config.yml to support any language.
How it works
- The plugin listens for PlayerPortalEvent
- It checks if the player is listed in allowed-players
- It checks if the world is listed in ignored-worlds
- If neither applies, the portal is blocked, and a message is sent
Development Notes
- API Version: 1.20+
- Fully compatible with Paper / Spigot
- No dependencies
Deutsch:
Installation
- Lade die aktuelle NoPortals.jar herunter
- Lege sie im Serverordner unter /plugins/ ab
- Starte oder reloade den Server
- Die config.yml wird automatisch erzeugt
⚙️ Konfigurationsübersicht
yaml
log-portal-attempts: true
ignored-worlds:
- eventwelt
- testwelt
allowed-players:
- McGovernn
- AdminUser123
portal-message: "&cPortale sind auf diesem Server deaktiviert!"
prefix: "§8[§cNo§4Portals§8] §7>> "
Befehle
Befehl
Beschreibung
/portal reload Lädt die Konfiguration neu
/portal info Zeigt Plugin-Version und Autor an
Berechtigungen
Dieses Plugin benötigt
keine Permissions. Die Steuerung erfolgt ausschließlich über die config.yml.
Sprachunterstützung
Standardmäßig auf Englisch. Alle Nachrichten sind in der config.yml vollständig anpassbar.
So funktioniert es
- Das Plugin lauscht auf PlayerPortalEvent
- Es prüft, ob der Spieler in allowed-players steht
- Es prüft, ob die Welt in ignored-worlds steht
- Wenn beides nicht zutrifft, wird das Portal blockiert und eine Nachricht gesendet
Entwicklerinfos
- API-Version: 1.20+
- Voll kompatibel mit Paper / Spigot
- Keine Abhängigkeiten