T2C-OPSecurity | Permission Security - [1.8.x - 1.21.11]
4.3Server protection from OP / Permission scam / hacks
4.3latest4.3 | small placeholder fixDec 18, 2025 The placeholders [prefix] and [uuid] were not always replaced correctly; this has been fixed.4.24.2 | critical bug fixDec 16, 2025 If the Sound option was enabled in the configuration, an error occurred. This has been fixed. The PermissionWhitelist did not function correctly, even after the bug fix in version 4.1. It now functions correctly again (tested). The reload command did not update the OPWhitelist & PermissionWhitelist players.4.14.1 | important bug fixDec 16, 2025 The PermissionWhitelist did not function. This feature has been fixed and is now working again.4.04.0 | Velocity Support via T2CodeLib 18.0 Changes and minor improvementsNov 29, 2025 Update Information – T2Code Plugins & T2CodeLib 18.0 Hello everyone, After quite some time, there are finally updates for my plugins again! I have updated T2CodeLib to version 18.0, which is now required for all of my plugins. What's new?Velocity support added (biggest change)
Internal structures revised & performance optimizations
Support for current Minecraft/Spigot versions
NEW: All config files now include explanations of the functions
Most entries are already fully documented
A few functions currently have no description – this will be added later ⏳ Why no updates lately? I have lost interest in Minecraft a bit over the last few months, which is why there have been no updates for a while. However, I have now taken the time to finish everything so that the plugins are up to date and ready for use again. ⚠️ Note on possible errors Due to the extensive changes and the longer testing break, isolated errors may occur. Everything should work as it should – if not: Please report it on the T2Code Support Discord: dc.t2code.net Note on T2Code-LuckyboxPremium The premium plugin T2Code-LuckyboxPremium is currently not available on Spigot. I plan to make it available again in the future, but this may take some time due to current PayPal issues.
An update on this will be posted in the corresponding Luckybox channel on my Discord. I apologize for the delay and thank you for your understanding. Thank you for your patience & enjoy the updates! Update Information – T2Code Plugins & T2CodeLib 18.0 Hallo zusammen, nach längerer Zeit gibt es endlich wieder Updates für meine Plugins! Ich habe die T2CodeLib auf Version 18.0 aktualisiert, welche ab sofort von allen meinen Plugins zwingend benötigt wird. Was ist neu?
Velocity-Support hinzugefügt (größte Änderung)
Überarbeitung der internen Strukturen & Performance-Optimierungen
Unterstützung für aktuelle Minecraft-/Spigot-Versionen
NEU: Alle Config-Dateien enthalten jetzt Erklärungen zu den Funktionen
Die meisten Einträge sind bereits vollständig dokumentiert
Einige wenige Funktionen haben aktuell noch keine Beschreibung – dies wird nachgereicht ⏳ Warum keine Updates in letzter Zeit? Ich habe über die letzten Monate das Interesse an Minecraft etwas verloren, weshalb es leider länger keine Aktualisierungen gab. Jetzt habe ich mir jedoch die Zeit genommen, alles fertigzustellen, damit die Plugins wieder aktuell und einsatzbereit sind. ⚠️ Hinweis zu möglichen Fehlern Durch die umfangreichen Änderungen und die längere Testpause kann es vereinzelt zu Fehlern kommen. Es sollte grundsätzlich alles funktionieren – falls nicht: Bitte meldet euch auf dem T2Code Support Discord: dc.t2code.net Hinweis zu T2Code-LuckyboxPremium Das Premium-Plugin T2Code-LuckyboxPremium ist derzeit nicht auf Spigot verfügbar. Ich plane, es in Zukunft wieder bereitzustellen, allerdings kann dies aufgrund aktueller PayPal-Probleme noch etwas dauern.
Ein Update dazu wird im entsprechenden Luckybox-Kanal auf meinem Discord veröffentlicht. Ich bitte um Verständnis und entschuldige die Verzögerung. Vielen Dank für eure Geduld & viel Spaß mit den Updates!
3.33.3 | Important bug fix for the permission whitelistOct 10, 2024 If you had entered several permissions in the permissions list, only the first one was checked, this error has been fixed3.23.2 | Config changes, new features and small bug fixesMar 31, 2024 In this update, minor bugs have been fixed and the config has been slightly revised. Config changes: - check.onJoin -> check.onJoin.enable - check.onInteract -> check.onInteract.enable - check.onCommand -> check.onCommand.enable - check.onChat -> check.onChat.enable - add check.onCommand.whitelist A whitelist has been added for commands for which no check is performed.3.1.33.1.3 | BugfxJun 19, 2023 [ 052592c] - The notify.allBungeePlayer option did not work as it should, this bug was fixed3.1.23.1.2 | 1.20 UpdateJun 8, 2023 [ f5dfca5] - API update to Minecraft version 1.20 - T2CodeLib API update to 15.0 (this version is required from now on)3.1.13.1.1 | Security bugfixes and improved debug messagesApr 23, 2023 Fixed a bug where players were incorrectly detected T2CodeLib 14.4 is required from this version onwards3.1.03.1.0 | API added, minor changes and bugfixesFeb 27, 2023 Changes: · [e14f91c] In opWhitelist.yml the path of an option was corrected: noOpPlayerDeop.enable -> opWhitelist.noOpPlayerDeop.enable · [a2bd88a] An API has been added .SpoilerTarget">Spoiler: Maven Class: T2COpSecAPI Code (Text): <repositories> <repository> <id>T2Code</id> <url>https://repo.t2code.net/repository/T2Code/</url> </repository> </repositories> <dependencies> <dependency> <groupId>net.t2code</groupId> <artifactId>T2C-OPSecurity</artifactId> <version>3.1.0</version> </dependency> </dependencies> · [98fd040] Fixed an error that occurred when loading the plugin, because since paper build 404 the T2CodeLib was loaded only after OPSecurity · [dba1e57] minor code changes3.0.73.0.7 | BugfixDec 12, 2022 - 'noOpPlayerDeop.enable' was missing in opWhitelist.yml and was read in incorrectly - 'kick.customCommand.Enable' was corrected to 'kick.customCommand.enable' in config.yml3.0.63.0.6 | BugfixesNov 20, 2022 Changes: · The placeholder [perm] was not replaced in the console when a player was kicked who is not on the permission whitelist · The permission whitelist did not work as it should have · If you used a UUID with '-' in the permission whitelist, then it was not recognized correctly · The kick message (permissionWhitelist.kick) was reset from MiniMessage to legacy color codes, because MiniMessages do not work in kick messages.3.0.53.0.5 | BugfixNov 19, 2022 Bugfix: · If you used a UUID with '-' in the op whitelist, then it was not recognized correctly · In the default opWhitelist.yml the path 'opWhitelist.customCommands.commands' was not created3.0.43.0.4 | BugfixNov 17, 2022 Bugfix: - In Permission Whitelist, the customCommands function did not work as expected.3.0.33.0.3 | Update to T2CodeLib 13.4Nov 15, 2022 Update to T2CodeLib 13.4 Please note the changes of T2CodeLib 13.43.0.23.0.2 | BUGFIXNov 13, 2022 Important BUGFIX: - The permissionWhitelist.yml was not created and loaded correctly3.0.13.0.1 | BugfixesNov 9, 2022 Bugfixes: - Kick command did not work as expected - OP check did not work reliably - Reload did not work reliably Changes: - Minor changes in the language files (a new generation of the language files is recommended)3.0.03.0.0 | Full releaseNov 5, 2022 3.0.0 Full release Changes: · OPSecurity is now called T2C-OPSecurity · PermissionWhitelist & OPWhitelist have been split into 2 separate config files · Notify is now also available for the bungee / all servers · Debug messages were removed This version requires at least version 13.2 of T2CodeLib! This version includes a converter from the old config. If you find any bugs or errors, please report them to me via Discord.3.0.0-SNAPSHOT-#13.0.0-SNAPSHOT-#1 | complete recodeNov 3, 2022 This is the first version of the complete recode of OPSecurity. Changes: · OPSecurity is now called T2C-OPSecurity · PermissionWhitelist & OPWhitelist have been split into 2 separate config files · Notify is now also available for the bungee / all servers This version requires at least version 13.1 of T2CodeLib! This version includes a converter from the old config. If you find any bugs or errors, please report them to me via Discord.2.4.32.4.3 | T2CodeLib 13.0 supportNov 1, 2022 The T2CodeLib has been completely cleaned up and restructured. Please make sure that all plugins that need T2CodeLib are compatible with version 13.0. For those plugins from T2Code that have an interface on the Bungee, the plugin files do not need to be on the Bungee anymore, the T2CodeLib is sufficient! If you need help or have any questions, please contact us on our T2Code Support Discord Server: dc.t2code.net2.4.22.4.2 | BugfixJan 21, 2022 Bugfix: - A bug in the permission query was fixed2.4.12.4.1 | WorldGuard bugJan 9, 2022 If a region was created on the server with WorldGuard where the flag blocked-cmds / allowed-cmds was used, then the commands were executed although WorldGuard should block this. (It may also be that other plugins that have similar functions were affected). This has been fixed.2.4.02.4.0 | Minor changes and bug fixesJan 7, 2022 Changes: · Code changes and performance improved. T2CodeLib (minimum 10.1) is required from now on! New: · Exact reason (kick, deop) is now displayed in the console Bugfix: · Upper/lower case of player names in config will be ignored from now on to avoid errors.2.4.0_Snapshot_22.4.0_Snapshot_2 | Code changesJan 6, 2022 This version is a snapshot! If there are any bugs, please let us know via Discord or Issue. Code changes and performance improved. T2CodeLib Version 10.1 is required from now on!2.4.0_Snapshot_12.4.0_Snapshot | New features and bugfix / Conversion to the T2CodeLibJan 5, 2022 This version is a snapshot! If there are any bugs, please let us know via Discord or Issue. New: · Exact reason (kick, deop) is now displayed in the console Bugfix: · Upper/lower case of player names in config will be ignored from now on to avoid errors.2.3.52.3.5 | Version FixDec 29, 2021 Bugfix: - [ 8f19f7e] In the update 2.3.4 I made a mistake and so the version 0.0.1 was detected on the server. This update fixes this error. Thanks to sergio85 for the bug report2.3.42.3.4 | Add 1.8 SupportDec 28, 2021 Add 1.8 Support2.3.3.12.3.3.1 | BugfixDec 28, 2021 Small Bugfix2.3.32.3.3 | Critical BUGFIXAug 24, 2021 Critical bugfix: Players could completely bypass OPSecurity if they had the permission ' minecraft.command.op' but no op or the permission ' * '! This critical bug has now been fixed. I strongly recommend upgrading to this version!2.3.2Update Discord link for the new support Discord.Aug 19, 2021 Update Discord link for the new support Discord. dc.T2Code.net New permission: opsecurity.updatemsg (included in opsecurity.admin)2.3.12.3.1 | Bugfix and small changesAug 18, 2021 In this update 2 bugs were fixed and one small change was made. Bugfixes: - [ 4ef93eb] It was indicated that an update is available although the latest version is installed. - [ 9c905db] When the plugin was reinstalled, an error occurred when loading the plugin. Changes: [ edf94d8, c132dab] The permission 'opsecurity.admin' was split into 3 single permissions. ('opsecurity.admin' is still present and contains all plugin permissions) .SpoilerTarget">Spoiler: new Permissions Code (YAML): permissions: opsecurity.admin: default : op children: opsecurity.notify : true opsecurity.command.reload : true opsecurity.command.info : true opsecurity.command.help : true opsecurity.notify: default : op opsecurity.command.reload: default : op opsecurity.command.info: default : op opsecurity.command.help: default : op2.3Version 2.3 | Code improvements and new security featuresAug 17, 2021 With this update, security and performance have been improved. Version 2.2 was skipped because I accidentally forgot to release it and it also contained bugs that were fixed in this version. Changes: - Language files are no longer generated with abbreviations, but written out (e.g. en_EN_Messages.yml -> english_messages.yml) - Players that are in the whitelist must now also be specified with the UUID - The function Timer is now included in the tab Check - Code changes that provide improvement New features: - New function: PlayerMustBeOnlineToOp (default: true) With this option you can specify that the player you want to give OP to must also be on the server. - The kick command is now adjustable in the config.yml (default: minecraft:kick [player] [reason]) Bugfixes: - [ 5841019] The bug that with the option Check.OnChat the chat did not work on some servers or on some servers caused that if the chat event was disabled by another plugin (e.g. for chat input for plugin options) the message was still written to the chat was fixed. Note: This plugin has a config converter to convert the configs to config version 2, this includes: - File renaming: - Config.yml -> config.yml - de_DE_Messages.yml -> german_messages.yml - en_EN_Messages.yml -> english_messages.yml - no_NO_Messages.yml -> norwegian_messages.yml - config.yml: - ALL SETTINGS REMAIN! - Plugin.language is adjusted accordingly - Timer.Enable -> Check.Timer.Enable - Timer.RefreshTime_inSec -> Check.Timer.RefreshTime_inSec - In the Player Withelist, the UUID is automatically added for all players.2.12.1 | New checks | individual kick commandJul 1, 2021 In this update, new features have been added and the code has been improved. From now on, the plugin checks the players not only when they join or via the timer, but also when they want to write in the chat, execute commands or interact with items / build blocks. These new features can be activated / deactivated individually. In addition, you can now set an individual kick command (default: minecraft:kick). The update message has been redesigned.2.02.0 | OPWhitelist is now called OP Security | Better performanceJun 27, 2021 With this update a new era of OPWhitelist starts. OPWhitelist is now called OP Security! With this update some bugs have been fixed and the performance has been improved. Changes: Permissions: - opwhitelist.admin -> opsecurity.admin - opwhitelist.notify -> opsecurity.notify Commands: - /opwhitelist -> /opsecurity - /opwl -> /opsec Note: Because the plugin name has changed a new config folder will be created too! Either you rename the old folder (OpWhitelist -> OPSecurity) or you copy the old config into the new folder. The Configs are 100% compatible with each other! ------------------------------------------------------------------------------------------------- Mit diesem Update startet eine neue Ära von OPWhitelist. OPWhitelist heißt ab sofort OP Security! Mit diesem Update wurden einige Bugs gefixt und die Performance wurde verbessert. Änderungen: Permissions: - opwhitelist.admin -> opsecurity.admin - opwhitelist.notify -> opsecurity.notify Commands: - /opwhitelist -> /opsecurity - /opwl -> /opsec Hinweis: Da sich der Plugin Name geändert hat wird auch ein neuer Config Ordner erstellt! Entweder du nennst den alten Ordner um (OpWhitelist -> OPSecurity) oder du kopierst die alte Config in den neuen Ordner. Die Configs sind zu 100% miteinander Kompatibel!1.2.2Small bugfixApr 12, 2021 Small bugfix Fixed [WARN]: Legacy plugin OpWhitelist v1.2.1 does not specify an api-version.1.2.11.2.1 | Important bugfixes. Please update!!!Apr 9, 2021 English Several minor bugs have been fixed in this update. Fixes: - When running ingame /opwhitelist reload it could happen that an error occurs. - If OP_Whitelist and Permission_Whitelist were both set to true, the right message was not displayed ingame with the permission opwhitelist.notify - If OP_Whitelist was set to noOpPlayerDeop and noOpPlayerKick the player op was not removed German In diesem Update wurden mehrere kleine Bugs behoben. Fixes: - Wenn man ingame /opwhitelist reload ausführte konnte es passieren, dass ein Error auftritt - Wenn OP_Whitelist und Permission_Whitelist beide auf true eingestellt waren, wurde ingame mit der Permission opwhitelist.notify nicht die richtige Message angezeigt - Wenn bei OP_Whitelist die Einstellungen noOpPlayerDeop und noOpPlayerKick aktiviert waren wurde dem Spieler op nicht entfernt1.2.01.2.0 | New option and small bugfixApr 5, 2021 English New option: A warning sound has been added to Notify Fixed a small bug that occurred when running commands on Paper via the console. German Neue Option: Es wurde bei Notify ein Warn Sound hinzugefügt Es wurde ein kleiner Bug behoben der entstand wenn man Commands bei Paper über die Console ausgeführt hat.1.1.01.1.0 | New features and bug fixesMar 31, 2021 English In this update 2 new features were added and 2 small bugs were fixed. The code has been partially rewritten, so please notify me via Discord if you find any bugs. New features: - Option Notify JoinWarn With this option you can set that players with the permission opwhitelist.notify get a notification if a player with OP or a permission joins the server without being on the whitelist. - Timer With the timer you can set if and every how many seconds it should be checked if a player has OP or a permission on the server without having the permission. Bugfixes: Fixed a bug that if Permission_Whitelist, customCommands Enable and PlayerWhithPermission_kick was set to true PlayerWhithPermission_kick was not executed. The config structure has changed a bit: Code (YAML): OP_Whitelist: noOpPlayerKick: Enable : true customCommands: Enable : true customKickCommands : Commands: Replaced by: Code (YAML): OP_Whitelist: noOpPlayerKick: Enable : true customCommands: Enable : true Commands: German In diesem Update wurden 2 Neue Funktionen hinzugefügt und 2 kleine Fehler behoben. Der Code wurde teilweise Neu geschrieben, deswegen bitte ich darum mich über Discord zu benachrichtigen, wenn Fehler auftreten sollten. Neuerungen: - Option Notify JoinWarn Mit dieser Option kann eingestellt werden, dass Spieler mit der Permission opwhitelist.notify eine Benachrichtigung bekommen, wenn ein Spieler mit OP oder einer Permission den Server betritt ohne, dass er auf der Whitelist steht - Timer Mit dem Timer könnt ihr einstellen ob und aller wie viel Sekunden geprüft werden soll ob eines Spielers auf dem Server OP oder eine Permission besitzt ohne, dass er die Berechtigung besitzt. Bugfixes: Es wurde ein Bug behoben der dafür sorgte, dass wenn bei Permission_Whitelist, customCommands Enable und PlayerWhithPermission_kick auf true gesetzt war wurde PlayerWhithPermission_kick nicht ausgeführt. Die Config Struktur hat sich ein wenig geändert: Code (YAML): OP_Whitelist: noOpPlayerKick: Enable : true customCommands: Enable : true customKickCommands : Commands: Ersetzt durch: Code (YAML): OP_Whitelist: noOpPlayerKick: Enable : true customCommands: Enable : true Commands:1.0.31.0.3 | BUGFIXMar 30, 2021 Fixed a bug where an error occurred when running '/opwhitelist reload' from the console when using Paper. Ein Fehler wurde behoben, bei dem ein Fehler auftrat, wenn '/opwhitelist reload' von der Konsole aus ausgeführt wurde, wenn Paper verwendet wurde.1.0.11.0.1 | BugfixMar 30, 2021 English Fixed a bug that occurred when you were not on the OP_Whitelist and on the Permission_Whitelist at the same time. German Es wurde ein Bug behoben der entstand wenn man nicht auf der OP_Whitelist und gleichzeitig auf der Permission_Whitelist stand.1.0.0Update Checker addedMar 30, 2021 Update Checker added
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta