Coder Social home page Coder Social logo

protectionblocks's Introduction

Β  Β 

Hi πŸ‘‹, I am Kirill Plazmer.


Abhishek Choudhary


protectionblocks's People

Contributors

getplusm avatar

Stargazers

 avatar

Watchers

 avatar

protectionblocks's Issues

Make a total block region limit

Make a total block region limit

Players create a bunch of private blocks and place them in turns, thus they can have more than 2+ privates, but I would like to make it possible to have only 1 region.

Ps gui does not work (using folia)

[12:36:48 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'ps gui' in t.me.p1azmer.engine.command.CommandRegister(protectionsblocks)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) ~[folia-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1028) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:32) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:435) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:336) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:323) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2289) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2249) ~[?:?]
        at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1639) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at t.me.p1azmer.engine.api.command.CommandResult.getArg(CommandResult.java:32) ~[PLAZMER-ENGINE-2.4.4.jar:?]
        at t.me.p1azmer.plugin.protectionblocks.commands.MenuCommand.onExecute(MenuCommand.java:46) ~[ProtectionBlocks-1.0.7.jar:?]
        at t.me.p1azmer.engine.api.command.AbstractCommand.execute(AbstractCommand.java:107) ~[PLAZMER-ENGINE-2.4.4.jar:?]
        at t.me.p1azmer.engine.api.command.GeneralCommand.onCommand(GeneralCommand.java:95) ~[PLAZMER-ENGINE-2.4.4.jar:?]
        at t.me.p1azmer.engine.command.CommandRegister.execute(CommandRegister.java:98) ~[PLAZMER-ENGINE-2.4.4.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[folia-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 19 more

Severe server lags

If I specify a range of 50 for the block, then the server sags very much and the TPS crashes.

Add please some features

  1. I would like a configuration to disable particles when installing or breaking regional blocks.
  2. I would like to see auto flags that can be set for each block, for example, for a golden block (region), I want to disable the destruction of blocks by creepers or withers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.