overwrite987 / ultimateserverprotector Goto Github PK
View Code? Open in Web Editor NEWIncredibly lightweight plugin, that add an "admin-password" to your server.
License: GNU Affero General Public License v3.0
Incredibly lightweight plugin, that add an "admin-password" to your server.
License: GNU Affero General Public License v3.0
Если включена функция blacklistperms, то наказание выполняется сразу, даже не предлагает ввести пароль администратора. Ошибок нет.
Is it possible to add support for 1.8 , maybe with less stuff than original one for compatibility ! bcz so many servers still uses 1.8 , specially for pvp type gamemodes ! Since USP isn't available for bungeecord/velocity !
не работает блокировка инвентаря и блокировка таб компила
Possibly in the future the plugin can have a bungeecord version or support for bungeecord server?
[23:50:16 WARN] [UltimateServerProtector]: Plugin UltimateServerProtector v29.0 generated an exception while executing task 1677
java.lang.NoSuchMethodError: 'boolean ru.overwrite.protect.bukkit.api.ServerProtectorCaptureEvent.callEvent()'
at ru.overwrite.protect.bukkit.listeners.ConnectionListener.lambda$onLogin$0(ConnectionListener.java:57) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[arclight-1.20.1-1.0.5-1a8925b.jar%23208!/:arclight-1.20.1-1.0.5-1a8925b]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[arclight-1.20.1-1.0.5-1a8925b.jar%23208!/:arclight-1.20.1-1.0.5-1a8925b]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:842) ~[?:?]
When I try to use one of the commands nothing appears, it's as if the server loaded a blank file but the folder I loaded I don't know if you can help me with this problem
I installed this in my lobby, but the problem is that the password security can easily be bypassed using the server selector.
Solution: Inventory will be empty; you can't use any hub items until you log in with the password. AS well as can't execute bungee command such as /server
Когда я захожу на сервер при первом запуске плагина, то эффект не выдается, но когда я перезагружу плагин, то эффект выдается
Приветствую! А когда добавите поддержку БД mysql или postgresql?
[17:09:31 WARN]: [UltimateServerProtector] Entity task for UltimateServerProtector v29.0 generated an exception
java.lang.IllegalArgumentException: effect type cannot be null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143) ~[guava-32.1.2-jre.jar:?]
at org.bukkit.potion.PotionEffect.(PotionEffect.java:85) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.potion.PotionEffect.(PotionEffect.java:56) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.potion.PotionEffect.(PotionEffect.java:106) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.potion.PotionEffect.(PotionEffect.java:119) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.potion.PotionEffect.(PotionEffect.java:131) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at ru.overwrite.protect.bukkit.ServerProtectorManager.lambda$giveEffect$3(ServerProtectorManager.java:301) ~[UltimateServerProtector-en.jar:?]
at ru.overwrite.protect.bukkit.task.PaperRunner.lambda$toConsumer$0(PaperRunner.java:65) ~[UltimateServerProtector-en.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:168) ~[purpur-1.20.2.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:115) ~[purpur-1.20.2.jar:?]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[purpur-1.20.2.jar:git-Purpur-2094]
at net.minecraft.server.MinecraftServer.lambda$tickChildren$13(MinecraftServer.java:1508) ~[purpur-1.20.2.jar:git-Purpur-2094]
at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1501) ~[purpur-1.20.2.jar:git-Purpur-2094]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.2.jar:git-Purpur-2094]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[purpur-1.20.2.jar:git-Purpur-2094]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[purpur-1.20.2.jar:git-Purpur-2094]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[purpur-1.20.2.jar:git-Purpur-2094]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Hello, I want to use your plugin with velocity but I see the plugin is only compatible with Bungee&Bukkit server
It is on your to do list ?
Если выдать игроку Н (из конфига) опку, а после её отобрать (игрок Н не вводит пароль), то плагин всё равно продолжает требовать пароль от игрока Н.
Версия сервера - 1.12.2 paper (последняя сборка). изначально проходит через прокси velocity (3.2.0-SNAPSHOT).
Ранее всё работало (не на прошлой версии точно, постарше).
Конфиг:
effect-settings:
enable-effects: true
effects:
- 'BLINDNESS:3'
Нужно чтобы при входе админа его всегда просило пароль, даже в случае смены ip адреса, но при выключении функции сессий, плагин все равно ждет смены ip для запроса пароля.
Currently the full logic is only here
It would be good if we could use all the login logic without just copy pasting it, so it could contain all the future changes.
Current purpose: Alternative custom login addon for test proxies with lots of servers without players (so no plugin messages)
Пожалуйста, обнови плагин для 1.21 или ты ждёшь Stable-
версию Paper?
[ModernPluginLoadingStrategy] Could not load plugin 'UltimateServerProtector.jar' in folder 'plugins\.paper-remapped'
org.bukkit.plugin.InvalidPluginException: Exception initializing main class `ru.overwrite.protect.bukkit.ServerProtector'
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:106) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:549) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:324) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1171) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:332) ~[purpur-1.21.jar:1.21-2245-9efd5fc]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:98) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
... 10 more
Caused by: java.lang.ExceptionInInitializerError
at UltimateServerProtector.jar/ru.overwrite.protect.bukkit.ServerProtectorManager.<init>(ServerProtectorManager.java:40) ~[UltimateServerProtector.jar:?]
at UltimateServerProtector.jar/ru.overwrite.protect.bukkit.ServerProtector.<init>(ServerProtector.java:13) ~[UltimateServerProtector.jar:?]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:98) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
... 10 more
Caused by: java.lang.NumberFormatException: For input string: "21-R0"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) ~[?:?]
at java.base/java.lang.Integer.parseInt(Integer.java:662) ~[?:?]
at java.base/java.lang.Integer.parseInt(Integer.java:778) ~[?:?]
at UltimateServerProtector.jar/ru.overwrite.protect.bukkit.utils.Utils.<clinit>(Utils.java:33) ~[UltimateServerProtector.jar:?]
at UltimateServerProtector.jar/ru.overwrite.protect.bukkit.ServerProtectorManager.<init>(ServerProtectorManager.java:40) ~[UltimateServerProtector.jar:?]
at UltimateServerProtector.jar/ru.overwrite.protect.bukkit.ServerProtector.<init>(ServerProtector.java:13) ~[UltimateServerProtector.jar:?]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:98) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
... 10 more
Когда я ввожу пароль, он сообщает, что является правильным. Но сразу после этого он пишет ошибку.
Извините если не там создал, не пользуюсь github.
логи - https://pastebin.com/eNUMMm1M
config.yml - https://pastebin.com/ceeWbnat
data.yml - https://pastebin.com/gUKJmKJ0
проблема появилась после перехода с прошлой версии на эту, если включить команду "pas", то будет жаловаться на неё.
My server version is 1.20.2, every time I enter the password it gives an error and asks me to re-enter it continuously.
logs: https://pastes.dev/W63tN2mKU4
Please add MySQL support or the data. So we can connect the database from different server. So if I login in the lobby, I won't have to login on the other backend server where I'm using USP . Or maybe bungeecord/velocity support :) . Really appreciate your work <3 .
[20:39:39 ERROR]: Error occurred while enabling UltimateServerProtectorTweaks v1.2 (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant org.bukkit.GameMode.survival
at java.lang.Enum.valueOf(Enum.java:274) ~[?:?]
at org.bukkit.GameMode.valueOf(GameMode.java:12) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at ru.overwrite.protect.tweaksaddon.EventListener.(EventListener.java:39) ~[UltimateServerProtectorTweaks.jar:?]
at ru.overwrite.protect.tweaksaddon.Main.onEnable(Main.java:23) ~[UltimateServerProtectorTweaks.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[purpur-1.19.4.jar:git-Purpur-1985]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.19.4.jar:git-Purpur-1985]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:577) ~[purpur-1.19.4.jar:git-Purpur-1985]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:488) ~[purpur-1.19.4.jar:git-Purpur-1985]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:643) ~[purpur-1.19.4.jar:git-Purpur-1985]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:442) ~[purpur-1.19.4.jar:git-Purpur-1985]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:345) ~[purpur-1.19.4.jar:git-Purpur-1985]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1120) ~[purpur-1.19.4.jar:git-Purpur-1985]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1985]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[20:39:39 INFO]: [UltimateServerProtectorTweaks] Disabling UltimateServerProtectorTweaks v1.2
[14:30:05 WARN]: Unexpected exception while parsing console command "usp"
org.bukkit.command.CommandException: Cannot execute command 'usp' in plugin UltimateServerProtector v17.5 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.dispatchCommand(CraftServer.java:975) ~[purpur-1.19.3.jar:git-Purpur-1900]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.dispatchServerCommand(CraftServer.java:938) ~[purpur-1.19.3.jar:git-Purpur-1900]
at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:536) ~[purpur-1.19.3.jar:git-Purpur-1900]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[purpur-1.19.3.jar:git-Purpur-1900]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.3.jar:git-Purpur-1900]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194) ~[purpur-1.19.3.jar:git-Purpur-1900]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[purpur-1.19.3.jar:git-Purpur-1900]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Getting this error spam , while I join the server .
Plugin version : 28.1
Server verison : 1.8.9
Error log : https://mclo.gs/99wWR9b
So it's been a problem since the beginning but It's probably is a function of this plugin .
So if I set command to run as op in the Citizens NPC and any player uses that NPC, they're flagged as op, and they need to enter the admin password even though they don't have op.
For example , I have a npc and added command "/npc cmd add dmenu open levels -p -o"
So, Is it possible to add compatibility with citizens ? So if anyone runs the command from the npc they won't get flagged.
I just got error after i joined server and keep spam
here is error : https://mclo.gs/oCHDyMK
Server version: 1.8.8 (FlamePaper)
Java 17
Plugin version 22.0
Full log server : https://mclo.gs/3rk054D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.