This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. I created a Command Signs2. I set the command "/*setblock -1028 65 -5202 1" as line13. When I run the command using the signs, nothing happend but the console show this :
19:19:14 CONSOLE: ERROR]: Could not pass event PlayerInteractEvent to CommandSigns v1.9.3.219:19:14 CONSOLE: org.bukkit.command.CommandException: Unhandled exception executing 'setblock -1028 65 -5202 1' in org.bukkit.craftbukkit.v1_7_R1.command.VanillaCommandWrapper(setblock)19:19:14 CONSOLE: Source) ~[?:?]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: java.lang.ClassCastException: org.zonedabone.commandsigns.proxy.PlayerProxy cannot be cast to org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer19:19:14 CONSOLE: Source) ~[?:?]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: ERROR]: Could not pass event PlayerInteractEvent to CommandSigns v1.9.3.219:19:14 CONSOLE: org.bukkit.command.CommandException: Unhandled exception executing 'setblock -1028 65 -5202 1' in org.bukkit.craftbukkit.v1_7_R1.command.VanillaCommandWrapper(setblock)19:19:14 CONSOLE: Source) ~[?:?]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: Source) ~[?:1.7.0]19:19:14 CONSOLE: java.lang.ClassCastException: org.zonedabone.commandsigns.proxy.PlayerProxy cannot be cast to org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer19:19:15 CONSOLE: Source) ~[?:?]19:19:15 CONSOLE: Source) ~[?:1.7.0]19:19:15 CONSOLE: Source) ~[?:1.7.0]
What is the expected output? What do you see instead?
What version of the product are you using?
The Latest version of the plugin
Do you have an error log of what happened?
See upside
Ps : I'm French so sorry if my English is badPlease provide any additional information below.
To my knowledge, /setblock requires more input than what you have specified in your command.
First, /setblock cannot be run from console without it defaulting to the main "world" (it defaults to the one named 'world', if it does anything at all). It also has issues setting a block at a location that already has a block there. The command you will probably therefore need to use is...
/cmds 1 /*sudo <player> setblock -1028 65 -5202 1 0 replace
...Which, should place a block of STONE in the same world as the player who uses it, as -1028, 65, -5202, replacing whatever block may be at that location. There are a few alternatives to 'replace' - just search "minecraft setblock usage" in google.
Please note however, regardless of using the silent operator ? in front of a command (like ?/*sudo <player>), /setblock will still display Block Placed in that player's chat. I have yet to figure out a way around this, and very few other plugins support silent command operation.
To post a comment, please login or register a new account.