[Discontinued] CommandSigns [v1.3.1] [API 6]

Version
forge-1.8-11.14.4.1577
spongeforge-1.8-1577-3.0.0-BETA-1000
CommandSigns-0.8e.jar

[16:41:47] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: org/spongepowered/api/text/Text$Literal
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_66]
        at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_66]
        at org.spongepowered.mod.plugin.SpongeModPluginContainer.constructMod(SpongeModPluginContainer.java:94) ~[spongeforge-1.8-1577-3.0.0-BETA-1000.jar:1.8-1577-3.0.0-BETA-1000]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.onPost(LoadController.java:53) ~[LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
        at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:507) ~[Loader.class:?]
        at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) ~[FMLCommonHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) ~[po.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_66]
Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.text.Text$Literal
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_66]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_66]
        ... 31 more
Caused by: java.lang.NullPointerException
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_66]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_66]
        ... 31 more
[16:41:47] [Server thread/ERROR]: This crash report has been saved to: C:\Users\geant\Desktop\minecraft\Sav - Serveur 1.8\Update\beta\.\crash-reports\crash-2016-01-01_16.41.47-server.txt

crash-reports

---- Minecraft Crash Report ----

WARNING: coremods are present:
  SpongeCoremod (spongeforge-1.8-1577-3.0.0-BETA-1000.jar)
Contact their authors BEFORE contacting forge

// Sorry :(

Time: 1/01/16 16:41
Description: Exception in server tick loop

java.lang.NoClassDefFoundError: org/spongepowered/api/text/Text$Literal
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.spongepowered.mod.plugin.SpongeModPluginContainer.constructMod(SpongeModPluginContainer.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.onPost(LoadController.java:53)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:507)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.text.Text$Literal
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 31 more
Caused by: java.lang.NullPointerException
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
    ... 33 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.8
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_66, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1012711712 bytes (965 MB) / 1819803648 bytes (1735 MB) up to 7635730432 bytes (7282 MB)
    JVM Flags: 2 total; -Xms1G -Xmx8G
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1577 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UC    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UC    FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.4.1577-universal.jar) 
    UC    Forge{11.14.4.1577} [Minecraft Forge] (forge-1.8-11.14.4.1577-universal.jar) 
    UC    sponge{1.8-1577-3.0.0-BETA-1000} [SpongeForge] (spongeforge-1.8-1577-3.0.0-BETA-1000.jar) 
    U    CommandSigns{0.8} [CommandSigns] (CommandSigns-0.8e.jar) 
    Loaded coremods (and transformers): 
SpongeCoremod (spongeforge-1.8-1577-3.0.0-BETA-1000.jar)
  org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge,SpongeForge'
    Type: Dedicated Server (map_server.txt)

Will update soon

Release v0.9:

Tested on SpongeForge 1000

Changes:

  • Update to Text III API Revision.

Enjoy this update! :smile:

One day update for 3.0.0-BETA-1015?

Thank you beforehand. :blush:

Release v0.9b:

Tested on SpongeForge 1018

Changes:

  • Minor bug fixes.

Enjoy this update! :smile:

@HassanS6000 do you think you could add some of the functionality of the bukkit commandsigns plugin, i feel as though it will ad alot of functionality by allowing the server owner to make any block a command sign, and even allow them to be redstone activated, and it is not needed to write [CommandSign] on your sign so it looks more professional/better. If you are unable to do this i understand as Sponge has only just come into beta.

This might be possible, I’ll see

Stupid question but can you make a command sign that executes a command such as “remove bal 10000” then execute the command “permission add cmd.fly”(example commands) but the second command not execute if the first command fails?

2 Likes

I don’t think that is possible yet, I will see if I can add this

@HassanS6000 Sweet! I love the fact that devs on here are more prone to reply and try to add cool fetures on here than when cauldron/mcpc+ and bukkit were a thing! BTW Thanks for the awesome work. I’m currently setting up a pixelmon server and this is gonna help out greatly if it can be done.

1 Like

Its posible to excute the command once for each player?

I don’t think so, I can try to add it.

Is it possible to add this with TotalEconomy and set it where you can charge players an amount of currency to run the command(s) on the sign?

I’ll add this feature soon, great idea! :smiley:

Release v1.0:

Tested on SpongeForge 1188

Changes:

  • Update to API 4.0

Enjoy this update! :smile:

1 Like

The “old” bukkit version of CommandSigns intentionally uses right-clicking because of its ability to bind commands to ANY block. Maybe this is why it’s done here too.

Wish this allowed you to bind it to any block tbh. I’m not a huge fan of the sign requirements of the first line needing to say [Command] or whatever. I miss the bukkit version where it could be attached to anything even custom worded signs.

1 Like

Release v1.1:

Tested on SpongeForge 1311

NOTE: This update will erase all previous CommandSigns.

Changes:

  • Rewrote CommandSigns to use CustomData, so they can be stored on all TileEntities - not just signs.

Commands:

/commandsigns - Main command of the plugin, returns version installed.
/commandsigns setcommandsign <one-time> <command> - Creates a CommandSign on the next
"Tile Entity" you right-click. If one-time is set to true, the sign can only be used once.
/commandsigns addcommand <command> - Adds the specified command to the next CommandSign you
right click.
/commandsigns removecommand <command number> - Removes the command that corresponds to
that number from the next CommandSign you right click.
/commandsigns listcommands - Will list all the commands of the next CommandSign you 
right click.

Permissions:

commandsigns.command
commandsigns.setcommandsign
commandsigns.addcommand
commandsigns.removecommand
commandsigns.listcommands
commandsigns.create - Permission to create a CommandSign
commandsigns.destroy - Permission to destroy a CommandSign
commandsigns.modify - Permission to change a CommandSign
commandsigns.use - Permission to use a CommandSign

Enjoy this update! :smile:

1 Like

Any chance of adding a pay system to the signs?

Yeah it’s planned for the next update

1 Like