Hello everyone!
Thanks for taking a look at my 1st plugin/skript!
So with this skript if you hold a nether star (or other item configured by you in the skript) and either right click or left click, it will cycle forwards or backwards though the block data!
Skript is needed to run this plugin, Should work with dev22f to v2.2-dev26f (Updated and last run using dev26f) https://github.com/bensku/Skript/releases/tag/dev26f
Tools:
Cycle tool (Nether star by default):
Right click to cycle forward block data, Left click for back
Random tool (ghast tear by default): Right click and set the block to a random data value by you) between 1 and 16, left click to revert it
Armor color (tool not configurable): With this tool you can do /armorcolor (or /arco) <a color> then hold a piece of leather armor, left click and equip it dyed that color!
Sheep colorer (default is shears):
do /sheepcolor (or /shco) <color> to set the color you want the sheeps to be, then left click a sheep with shears to color it to the set color
Logs for block interactions included!
With the logs it will log all block interactions with the skript from players without the perm "skript.cycle.exemptlog" in the folder Skript/logs/cycleblock, in the folder contains 3 logs, cycle forward, cycle backwards and randomtool
WorldGaurd compatible, Unfortunately not CoreProtect compatible, to find greif you will have to use the logs
Permissions:
skript.cycle.main (Permission for the main tool (the cycle tool))
skript.cycle.random (Permission for the random tool)
skript.cycle.blockloc (Permission for the block location tool)
skript.cycle.armor (Permission for the armor color tool (includes command))
skript.cycle.sheep (permission for sheep colorer tool and command)
skript.cycle.exemptlog (Players with this permission will have their block interactions exempt from the logs)
Known error:
If you try to make certain blocks (found so far are logs, wool and leaves, im not updating this list XD) over 15 (possibly a different number) it will give an error saying it can’t go over 16 (or the different number +1), I don't know how to fix this error right now, sorry!
also now it seems when you try to take leaves past jungle now the leaf block disappears
This is my 1st skript so if you find any errors, please don’t scream at me and I might not be able to fix them <3 XDDD
Quick credit, in the skript docs I found the command "add 1 to the data value of the clicked block" and I built the skript around it
To save any possible spam replying to every review, thank you to everyone who is reviewing!!!
it means a lot to me to know that you like my skript <3
Thanks for taking a look at my 1st plugin/skript!
So with this skript if you hold a nether star (or other item configured by you in the skript) and either right click or left click, it will cycle forwards or backwards though the block data!
Skript is needed to run this plugin, Should work with dev22f to v2.2-dev26f (Updated and last run using dev26f) https://github.com/bensku/Skript/releases/tag/dev26f
Tools:
Cycle tool (Nether star by default):
Right click to cycle forward block data, Left click for back
Random tool (ghast tear by default): Right click and set the block to a random data value by you) between 1 and 16, left click to revert it
Armor color (tool not configurable): With this tool you can do /armorcolor (or /arco) <a color> then hold a piece of leather armor, left click and equip it dyed that color!
Sheep colorer (default is shears):
do /sheepcolor (or /shco) <color> to set the color you want the sheeps to be, then left click a sheep with shears to color it to the set color
Logs for block interactions included!
With the logs it will log all block interactions with the skript from players without the perm "skript.cycle.exemptlog" in the folder Skript/logs/cycleblock, in the folder contains 3 logs, cycle forward, cycle backwards and randomtool
Spoiler: What the logs look like
Suggested to find grief with the logs: https://www.spigotmc.org/resources/blocklocationtool.34746/
[%time stamp%] %player% cycled "%block name%: (data value)%old data value%" forward to data value:%new data value% at %block location%
[%time stamp%] %player% cycled "%block name%: (data value)%old block data%" backwards to data value:%new data value% at %block location%
[%time stamp%] [Random tool] %player name% changed %block name%: (date value)%old block data% to %new block data% at %block location%
[%time stamp%] [Random tool] %player% reverted %block name%: (date value)%old block data% back to %new block data at %block location%
[%time stamp%] %player% cycled "%block name%: (data value)%old block data%" backwards to data value:%new data value% at %block location%
[%time stamp%] [Random tool] %player name% changed %block name%: (date value)%old block data% to %new block data% at %block location%
[%time stamp%] [Random tool] %player% reverted %block name%: (date value)%old block data% back to %new block data at %block location%
WorldGaurd compatible, Unfortunately not CoreProtect compatible, to find greif you will have to use the logs
Permissions:
skript.cycle.main (Permission for the main tool (the cycle tool))
skript.cycle.random (Permission for the random tool)
skript.cycle.blockloc (Permission for the block location tool)
skript.cycle.armor (Permission for the armor color tool (includes command))
skript.cycle.sheep (permission for sheep colorer tool and command)
skript.cycle.exemptlog (Players with this permission will have their block interactions exempt from the logs)
Known error:
If you try to make certain blocks (found so far are logs, wool and leaves, im not updating this list XD) over 15 (possibly a different number) it will give an error saying it can’t go over 16 (or the different number +1), I don't know how to fix this error right now, sorry!
also now it seems when you try to take leaves past jungle now the leaf block disappears
Spoiler: The error it shows
[Skript] Severe Error:
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[18:07:27 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[18:07:27 ERROR]: #!#! and check whether this error has already been reported.
[18:07:27 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[18:07:27 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[18:07:27 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[18:07:27 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! Stack trace:
[18:07:27 ERROR]: #!#! java.lang.IllegalArgumentException: Invalid data range 16 to 16
[18:07:27 ERROR]: #!#! at ch.njol.skript.util.BlockUtils.set(BlockUtils.java:117)
[18:07:27 ERROR]: #!#! at ch.njol.skript.aliases.ItemType.setBlock(ItemType.java:405)
[18:07:27 ERROR]: #!#! at ch.njol.skript.classes.data.DefaultChangers$6.change(DefaultChangers.java:298)
[18:07:27 ERROR]: #!#! at ch.njol.skript.classes.data.DefaultChangers$6.change(DefaultChangers.java:1)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.change(SimpleExpression.java:237)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.util.ConvertedExpression.change(ConvertedExpression.java:144)
[18:07:27 ERROR]: #!#! at ch.njol.skript.expressions.ExprDurability.change(ExprDurability.java:117)
[18:07:27 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[18:07:27 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
[18:07:27 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[18:07:27 ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[18:07:27 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[18:07:27 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567)
[18:07:27 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! Version Information:
[18:07:27 ERROR]: #!#! Skript: 2.2-dev22f
[18:07:27 ERROR]: #!#! Bukkit: 1.10.2-R0.1-SNAPSHOT
[18:07:27 ERROR]: #!#! Minecraft: 1.10.2
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[18:07:27 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[18:07:27 ERROR]: #!#! and check whether this error has already been reported.
[18:07:27 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[18:07:27 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[18:07:27 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[18:07:27 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! Stack trace:
[18:07:27 ERROR]: #!#! java.lang.IllegalArgumentException: Invalid data range 16 to 16
[18:07:27 ERROR]: #!#! at ch.njol.skript.util.BlockUtils.set(BlockUtils.java:117)
[18:07:27 ERROR]: #!#! at ch.njol.skript.aliases.ItemType.setBlock(ItemType.java:405)
[18:07:27 ERROR]: #!#! at ch.njol.skript.classes.data.DefaultChangers$6.change(DefaultChangers.java:298)
[18:07:27 ERROR]: #!#! at ch.njol.skript.classes.data.DefaultChangers$6.change(DefaultChangers.java:1)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.change(SimpleExpression.java:237)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.util.ConvertedExpression.change(ConvertedExpression.java:144)
[18:07:27 ERROR]: #!#! at ch.njol.skript.expressions.ExprDurability.change(ExprDurability.java:117)
[18:07:27 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[18:07:27 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[18:07:27 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
[18:07:27 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[18:07:27 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[18:07:27 ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[18:07:27 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[18:07:27 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668)
[18:07:27 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567)
[18:07:27 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[18:07:27 ERROR]: #!#!
[18:07:27 ERROR]: #!#! Version Information:
[18:07:27 ERROR]: #!#! Skript: 2.2-dev22f
[18:07:27 ERROR]: #!#! Bukkit: 1.10.2-R0.1-SNAPSHOT
[18:07:27 ERROR]: #!#! Minecraft: 1.10.2
This is my 1st skript so if you find any errors, please don’t scream at me and I might not be able to fix them <3 XDDD
Quick credit, in the skript docs I found the command "add 1 to the data value of the clicked block" and I built the skript around it
To save any possible spam replying to every review, thank you to everyone who is reviewing!!!
it means a lot to me to know that you like my skript <3Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.10, 1.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CycleBlocks is a free Minecraft Java mod. Compatible with Minecraft 1.10, 1.11. Downloaded 706 times (via Spigot). Download it and open it directly in the game.