Spigot AutoRank-up 2.0

An automatic ranking plugin that allows you to set time rank-up.

    • Useful Useful x 1
  1. Awesome plugin, but you must to put notes or the features and commands because the viewers will need to know what the plugin do.
     
  2. Nice plugin :D keep it up
     
  3. thebastien007 updated AutoRank with a new update entry:

    Jobs rank-up system Update !

    Read the rest of this update entry...
     
  4. Salut ! :D

    Pourrais-tu changer le nom de ton plugin ? AutoRank est déjà un plugin très connu avec des centaines de milliers de téléchargements. xD
     
  5. Le plugin dont tu parles n'est plus mis à jour, et de plus le nom est très expressif donc je vais pas changer pour ça.
     
  6. Hi, got a problem with the config file and the databas config:

    Code (Text):
    Cannot load plugins/AutoRank/config.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in 'string', line 4, column 1:
        database:
        ^
    expected <block end>, but found BlockMappingStart
     in 'string', line 127, column 3:
          anwaerterin:
          ^

            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:178) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:160) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:135) [spigot.jar:git-Spigot-7862817-bd30843]
            at fr.thebastien007.autorank.Main.onEnable(Main.java:55) [Autorank-1.1.jar:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot.jar:git-Spigot-7862817-bd30843]
            at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot.jar:git-Spigot-7862817-bd30843]
            at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot.jar:git-Spigot-7862817-bd30843]
            at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot.jar:git-Spigot-7862817-bd30843]
            at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot.jar:git-Spigot-7862817-bd30843]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot.jar:git-Spigot-7862817-bd30843]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
     in 'string', line 4, column 1:
        database:
        ^
    expected <block end>, but found BlockMappingStart
     in 'string', line 127, column 3:
          anwaerterin:
          ^

            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:571) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:227) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:140) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:437) ~[spigot.jar:git-Spigot-7862817-bd30843]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[spigot.jar:git-Spigot-7862817-bd30843]
            ... 17 more
     
    Here is also the block that supposedly has a bug:

    anwaerterin:
    time: 360
    jobslevel: -1
    timeANDjobs: false
    commands:
    - "lp user {player} promote player"
    - "msg {player} Ab sofort bist du Teil unserer Gemeinschaft und kannst dir endlich einen netten Platz suchen, auf dem du dein erstes Haus baust und dir ein Leben aufbaust."

    I cant find anything thats wrong.

    Hope you can help.

    Regards
     
    #10 X00LA, Jan 15, 2018
    Last edited: Jan 15, 2018
  7. Ok, you have to put 2 spaces for each elements after the name of rank. And for the name of your database. Think to respect spaces like default config.
    Like this:
    Code (Text):
    anwaerterin:
      time: 360
      jobslevel: -1
      timeANDjobs: false
      commands:
        - "lp user {player} promote player"
        - "msg {player} Ab sofort bist du Teil unserer Gemeinschaft und kannst dir endlich einen netten Platz suchen, auf dem du dein erstes Haus baust und dir ein Leben aufbaust."
    Code (Text):
    database:
      host: "host"
      database: "Database name"
      port: "3306"
      .........
     
  8. thebastien007 updated AutoRank with a new update entry:

    New command !

    Read the rest of this update entry...
     
  9. Nice plugin, My rate is 5 stars.
     
  10. so the plugin gives another rank over time,
    but is it also able to take it over time?

    and does it support pex? (does it use the ladder made in pex?)
     
  11. The plugin change the primary group, but you can put the commands for take it over time.
    And the plugin work with vault so, if pex support vault, yes, autorank support pex
     
  12. Could you add hooks to EssentialsX economy and Griefprevention claimblocks?
     
  13. Can you give me more details ? The examples ?
     
    #17 thebastien007, Jan 18, 2018
    Last edited: Jan 18, 2018
  14. For example, letting players rank up when they have X amount of money in their balance or X amount of claimblocks.
     
  15. Oh ok, I go to see what i can make
     
  16. thebastien007 updated AutoRank with a new update entry:

    New systems rank-up & scoreboard

    Read the rest of this update entry...