Spigot Simple Rename v13.9

Simple but useful plugin

  1. Galaipa submitted a new resource:

    Simple Rename - Simple but useful plugin

    Read more about this resource...
     
  2. I was wondering if the custom.yml file could accept more than alphanumeric characters? Here's the error I've received from the plugin:

    Code (Text):
    [13:53:53] [Server thread/INFO]: [SimpleRename] Enabling SimpleRename v8.5
    [13:53:53] [Server thread/INFO]: SimpleRename enabled!
    [13:53:53] [Server thread/ERROR]: Cannot load plugins/SimpleRename/lang/custom.yml
    org.bukkit.configuration.InvalidConfigurationException: while scanning an anchor
    in 'string', line 2, column 13:
        3: &3Rename &8» &7Usage: /rename {name}
                    ^
    expected alphabetic or numeric character, but found »(187)
    in 'string', line 2, column 15:
        3: &3Rename &8» &7Usage: /rename {name}
                      ^

        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at io.github.galaipa.sr.SimpleRename.loadTranslations(SimpleRename.java:260) [SimpleRename.jar:?]
        at io.github.galaipa.sr.SimpleRename.onEnable(SimpleRename.java:48) [SimpleRename.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.java:361) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.java:321) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at net.minecraft.server.v1_9_R2.MinecraftServer.t(MinecraftServer.java:416) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at net.minecraft.server.v1_9_R2.MinecraftServer.l(MinecraftServer.java:381) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at net.minecraft.server.v1_9_R2.MinecraftServer.a(MinecraftServer.java:336) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:268) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:532) [spigot.jar:git-Spigot-4af49dc-4e19de1]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning an anchor
    in 'string', line 2, column 13:
        3: &3Rename &8» &7Usage: /rename {name}
                    ^
    expected alphabetic or numeric character, but found »(187)
    in 'string', line 2, column 15:
        3: &3Rename &8» &7Usage: /rename {name}
                      ^

        at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1446) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(ScannerImpl.java:939) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:370) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl.parseNode(ParserImpl.java:388) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl.parseBlockNodeOrIndentlessSequence(ParserImpl.java:368) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl.access$2300(ParserImpl.java:116) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:588) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot.jar:git-Spigot-4af49dc-4e19de1]
        ... 16 more
     
     
  3. Hi! Can you give me some examples please? What do you want to add?
     
  4. Nice update but it's SUCCESS! Jeez man, for months you had succes and now sucess???? Not usually pedantic but get it right!
     
    • Agree Agree x 1
  5. So embarrassed :(
     
    • Like Like x 1
  6. Thank you for fixing this! Excuse me if I seemed a bit over the top. :D
     
  7. Noble Pro

    Moderator

    Hey, would it be possible to have a config option to enable and set a character limit?
     
  8. Good Idea, thank you
    After 14 updates in Bukkit Dev I am out of ideas :D
     
    • Like Like x 1
    • Winner Winner x 1
  9. /sr update dont work
     
  10. Hey,

    just a short question: Will this plugin rename the items globally for all user on the server?
    That is what we're searching for.

    The economy / xp things are a little bit confusing at this point.
     
    #15 TomXPro, Jan 23, 2017
    Last edited: Jan 24, 2017
  11. Just tried it too and it didn't work :(
     
  12. Not working in 1.12 - error on startup:

    [13:08:46] [Server thread/INFO]: [SimpleRename] Enabling SimpleRename v9.5
    [13:08:46] [Server thread/INFO]: SimpleRename enabled!
    [13:08:46] [Server thread/ERROR]: Error occurred while enabling SimpleRename v9.5 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Ljava/io/InputStream;)Lorg/bukkit/configuration/file/YamlConfiguration;
    at io.github.galaipa.sr.SimpleRename.loadTranslations(SimpleRename.java:289) ~[?:?]
    at io.github.galaipa.sr.SimpleRename.Enable(SimpleRename.java:54) ~[?:?]
    at io.github.galaipa.sr.SimpleRename.onEnable(SimpleRename.java:50) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot_latest.jar:git-Spigot-cd6ba67-f7d14f1]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
     
  13. Hey Man, Great Plugin. So Amazing. But, I've been using a 1.12 server with the plugin and whenever I enter any of the commands it gives me this error: "An internal error occurred while attempting to perform this command". Just wondering if you could update the plugin for 1.12, just because it such a great plugin and would like to use it for 1.12. Anyways, thanks for the plugin!
     
  14. Update the plugin, please
     
    • Like Like x 1