eduardo-mior / system Goto Github PK
View Code? Open in Web Editor NEWSistema geral completo, otimizado e super util para todos os tipos de servidores.
Home Page: https://gamersboard.com.br/topic/61255-free-system-o-seu-novo-super-essentials/
Sistema geral completo, otimizado e super util para todos os tipos de servidores.
Home Page: https://gamersboard.com.br/topic/61255-free-system-o-seu-novo-super-essentials/
Estou criando aqui um servidor de survival mas configurei tudo, não achei nada nas settings que desabilita-se isso, não consigo quebrar blocos sem op ou permissões.
[09:55:59] [User Authenticator #1/INFO]: UUID of player Deividgab is ***censurado***
[09:55:59] [Server thread/INFO]: �[0;31;1m[ERROR] O arquivo não pôde ser criado deividgab.yml!�[m
[09:55:59] [Server thread/WARN]: java.io.IOException: O sistema não pode encontrar o caminho especificado
[09:55:59] [Server thread/WARN]: at java.io.WinNTFileSystem.createFileExclusively(Native Method)
[09:55:59] [Server thread/WARN]: at java.io.File.createNewFile(Unknown Source)
[09:55:59] [Server thread/WARN]: at System.utils.manager.DataManager.createFile(DataManager.java:22)
[09:55:59] [Server thread/WARN]: at System.sistemas.gerais.PlayerData.newPlayer(playerdate.java:28) -> DataManager.createFile(file);
[09:55:59] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:55:59] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[09:55:59] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[09:55:59] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[09:55:59] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[09:55:59] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[09:55:59] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[09:55:59] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerList.attemptLogin(PlayerList.java:456)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:118)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[09:55:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[09:55:59] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
Tem como usar a API do System se tiver, e que eu praticamente eu tou fazendo um plugin aqui e estou vendo se tem como usar uma API do proprio plugin.
Não sei se isso acontece porque a chunk que a warp está setada está descarrega ou se a warp está setada em coordenadas que não são números inteiros.
(Percebi que o /tp do System é diferente do /tp do Minecraft, por isso setei as coordenadas com o tp do Minecraft. Exemplo: Digitando /tp 750 64 750, o System teleporta para 750,0 64,0 750,0 enquanto o comando padrão do Minecraft teleporta para o meio do bloco, 750,5 64,0 750,5. Por isso desconfio se só posso usar coordenadas de números inteiros para setar warps.)
Erro no console:
erro warp.txt
Video mostrando o erro:
https://youtu.be/F2n62oXKCdo
Boas,
Adicionar canal local e global.
Sistema de caixa.
Banir item
Limpar o chão e as entidades x em x tempo (exemplo: clearlag)
System login e register
Criar como fosse um mod.
como exemplo: FTB essentials
[23:50:05 ERROR]: Could not pass event PrepareItemCraftEvent to System v1.14.19
java.lang.IllegalArgumentException: Cannot get ID of Modern Material
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) ~[guava-31.0.1-jre.jar:?]
at org.bukkit.Material.getId(Material.java:4194) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at rush.recursos.bloqueadores.BloquearCrafts.aoPrepararCraft(BloquearCrafts.java:19) ~[System.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor82.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:git-Purpur-1770]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:1391) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.world.inventory.CraftingMenu.slotChangedCraftingGrid(CraftingMenu.java:87) ~[?:?]
at net.minecraft.world.inventory.CraftingMenu.lambda$slotsChanged$0(CraftingMenu.java:98) ~[?:?]
at net.minecraft.world.inventory.ContainerLevelAccess.lambda$execute$0(ContainerLevelAccess.java:67) ~[?:?]
at net.minecraft.world.inventory.ContainerLevelAccess$2.evaluate(ContainerLevelAccess.java:54) ~[?:?]
at net.minecraft.world.inventory.ContainerLevelAccess.execute(ContainerLevelAccess.java:66) ~[?:?]
at net.minecraft.world.inventory.CraftingMenu.slotsChanged(CraftingMenu.java:97) ~[?:?]
at net.minecraft.world.inventory.CraftingContainer.removeItem(CraftingContainer.java:132) ~[?:?]
at net.minecraft.world.inventory.ResultSlot.onTake(ResultSlot.java:67) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.lambda$doClick$3(AbstractContainerMenu.java:564) ~[?:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:562) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:381) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3410) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1388) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1365) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1358) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1336) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1224) ~[purpur-1.19.2.jar:git-Purpur-1770]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310) ~[purpur-1.19.2.jar:git-Purpur-1770]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
No seu está assim
List worlds = ConfigManager.getConfig("mensagens").getStringList("Mundos-Onde-Pode-Usar-Fly");
erro:
ele não esta indentificando, qual mundo pode usar fly
correto:
List worlds = ConfigManager.getConfig("settings").getStringList("Mundos-Onde-Pode-Usar-Fly");
obs: ele está no settings.yml e não está no mensagens!
O comando abre infinitas possibilidades para futuros problemas de segurança
System/src/rush/comandos/ComandoSystem.java
Line 763 in 0210abb
23:40:54 ERROR]: Could not pass event PlayerKickEvent to System v1.14.18
java.lang.NullPointerException: Cannot invoke "String.length()" because "input" is null
at net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.deserialize(LegacyComponentSerializerImpl.java:242) ~[adventure-text-serializer-legacy-4.11.0.jar:?]
at org.bukkit.event.player.PlayerKickEvent.setLeaveMessage(PlayerKickEvent.java:134) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at rush.recursos.desativadores.DesativarMensagemDeSaida.aoSerKickado(DesativarMensagemDeSaida.java:18) ~[System.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor318.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:git-Purpur-1777]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.disconnect(ServerGamePacketListenerImpl.java:554) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.disconnect(ServerGamePacketListenerImpl.java:519) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleResourcePackResponse(ServerGamePacketListenerImpl.java:2169) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:24) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:10) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.2.jar:git-Purpur-1777]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
Estou usando o System Plugin no meu servidor de pixelmon e os pokemons simplesmente não saem por causa desse erro que fica sempre se repetindo no console quando alguém está no servidor, como eu posso arruma-lo?
O erro é o seguinte:
[18:09:43 ERROR]: Could not pass event CreatureSpawnEvent to System v1.14.18
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:63) ~[EventExecutor.class:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[TimedEventExecutor.class:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[RegisteredListener.class:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [SimplePluginManager.class:?]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:380) [CraftEventFactory.class:?]
at net.minecraft.world.World.addEntity(World.java:1500) [amu.class:?]
at net.minecraft.world.WorldServer.addEntity(WorldServer.java:1251) [oo.class:?]
at net.minecraft.world.WorldServer.func_72838_d(WorldServer.java:1245) [oo.class:?]
at com.pixelmonmod.pixelmon.api.spawning.SpawnAction.doSpawn(SpawnAction.java:94) [SpawnAction.class:8.3.8]
at com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.pokemon.SpawnActionPokemon.doSpawn(SpawnActionPokemon.java:129) [SpawnActionPokemon.class:8.3.8]
at com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.pokemon.SpawnActionPokemon.doSpawn(SpawnActionPokemon.java:39) [SpawnActionPokemon.class:8.3.8]
at com.pixelmonmod.pixelmon.api.spawning.archetypes.spawners.TickingSpawner.doPass(TickingSpawner.java:105) [TickingSpawner.class:8.3.8]
at com.pixelmonmod.pixelmon.api.spawning.SpawnerCoordinator.onTick(SpawnerCoordinator.java:59) [SpawnerCoordinator.class:8.3.8]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_513_SpawnerCoordinator_onTick_ServerTickEvent.invoke(.dynamic) [?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:96) [ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:186) [EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:264) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:822) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.lang.IllegalArgumentException: No enum constant rush.enums.EntityName.PIXELMON_PIXELMON
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_312]
at rush.enums.EntityName.valueOf(EntityName.java:1) ~[?:?]
at rush.enums.EntityName.valueOf(EntityName.java:148) ~[?:?]
at rush.sistemas.gerais.StackMobs.onSpawn(StackMobs.java:57) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor133.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:61) ~[EventExecutor.class:?]
... 19 more
Olá Eu refiz seu plugin todo pra testa bugs,, mas aconteceu alguns erros que não era pra acontecer pois eu segui seu metado, mas caso ainda trabalha no plugin, seria bom resolver ate agora não consegui '-'.
obs: não alterei nada na utils/Backup so dei control c e control v.
[09:56:51] [Server thread/INFO]: Deividgab issued server command: /backup
[09:56:55] [Server thread/INFO]: Deividgab issued server command: /essentials backup
[09:56:55] [Thread-11/WARN]: java.io.FileNotFoundException: H:\Coisas\1.8\plugins\System\backups\Dia 28-12-2020 Hora09;56.zip (O sistema não pode encontrar o caminho especificado)
[09:56:55] [Thread-11/WARN]: at java.io.FileOutputStream.open0(Native Method)
[09:56:55] [Thread-11/WARN]: at java.io.FileOutputStream.open(Unknown Source)
[09:56:55] [Thread-11/WARN]: at java.io.FileOutputStream.<init>(Unknown Source)
[09:56:55] [Thread-11/WARN]: at java.io.FileOutputStream.<init>(Unknown Source)
[09:56:55] [Thread-11/WARN]: at System.utils.Backup.zipFolder(Backup.java:31)
[09:56:55] [Thread-11/WARN]: at System.utils.Backup.create(Backup.java:24)
[09:56:55] [Thread-11/WARN]: at System.comandos.ComandoSystem.lambda$onCommand$0(ComandoSystem.java:58)
[09:56:55] [Thread-11/WARN]: at java.lang.Thread.run(Unknown Source)
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.