Premium Companions REBORN | CREATE YOUR OWN CUSTOM COMPANIONS WITH ABILITIES | EULA COMPLIANT | 1.8 -...

Discussion in 'Resource Discussion' started by Astero, Jul 9, 2019.

  1. Plugin looks great possibly what I've been looking for. However I've been looking into this plugin and available configurations. And I have noticed that the material for the companion token seems to be limited to standard item materials however I would like to be able to use a custom head from https://minecraft-heads.com for this. Is this actually possible to do? as I'm not seeing this mentioned in the wiki.
     
  2. @Astero I've got an issue when using this with multiverse. The plugin is doing its job, except when a player switches worlds and then switches pets, and switches back, they keep the effects they had from the first pet, along with any new effects from the 2nd (now active) pet.

    Have I missed a permission or something? Players in my multiverse setup are not supposed to keep potion effects between worlds and that works normally with regular potions
     
  3. This is very weird. Does multiverse use the same events such as WorldChangedEvent, TeleportEvents?
     
  4. what can Companion Coins do
     
  5. Can I let players buy with Companion Coins?
     
  6. hello, I have a small problem all the companions that I create and that I implement in the pluging are not saved when I disconnect and that I come back in game and a server with which I work meets the same problem and it does not penent not syncronized on their waterfall server because the msql function does not work
     
    • Like Like x 1
  7. I'm the server owner that tofawakz mentioned.

    We added Companions to our server a while ago. To get them, people had to get keys that were very very rare. As we are on a bungee, we used the MySQL function to save datas.

    Players began to buy their first Companions, with their coins, but after like an hour we realized that everything was vanishing. The coins, the Companions they've bought, the upgrades..

    We thought this was a problem from the MySQL database so we switched to another one, didn't worked. We tried with local save system, and still had the same error.

    So we created our own menu using the DeluxeMenus and we used the CMI usermeta and boolean. That was a mess and that is very rustic x)

    So you know :D
     
    • Like Like x 1
  8. Milk can remove debuffs!
     
  9. Astero updated Companions | CREATE YOUR OWN CUSTOM COMPANIONS WITH ABILITIES | CUSTOM MODELS | 1.16.4 SUPPORT! with a new update entry:

    VERSION 1.8.4

    Read the rest of this update entry...
     
  10. @Astero I'm having this crash

    Code (Text):
    [13:43:58 ERROR]: Could not pass event AsyncPlayerChatEvent to Companions v1.8.4
    java.lang.NoSuchMethodError: net.minecraft.server.v1_16_R2.EntityArmorStand.setEquipment(Lnet/minecraft/server/v1_16_R2/EnumItemSlot;Lnet/minecraft/server/v1_16_R2/ItemStack;)V
            at me.astero.companions.companiondata.packets.CompanionPacket_1_16_R2.setCustomWeapon(CompanionPacket_1_16_R2.java:319) ~[?:?]
            at me.astero.companions.listener.ChatListener.onChat(ChatListener.java:132) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor378.execute(Unknown Source) ~[?:?]        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.3.jar:git-Purpur-808]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.16.3.jar:git-Purpur-808]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.3.jar:git-Purpur-808]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.3.jar:git-Purpur-808]
            at net.minecraft.server.v1_16_R2.PlayerConnection.chat(PlayerConnection.java:1879) ~[patched_1.16.3.jar:git-Purpur-808]
            at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1794) ~[patched_1.16.3.jar:git-Purpur-808]
            at net.minecraft.server.v1_16_R2.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.16.3.jar:git-Purpur-808]
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_281]
            at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_281]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_281]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_281]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    1.16.3
     
  11. Do you have steps to replicate the error?
     
  12. I was looking at the menus I think i clicked one of the options and then that appeared
     
  13. I hope the equipment I wear can be changed to name and lore
    Because there is no custom model update in the lower version, I want to directly replace the model with item
     
    #254 LinkWalz, Mar 28, 2021
    Last edited: Apr 16, 2021
  14. Code (Text):
    [19:20:11] [Server thread/INFO]: [Companions] Enabling Companions v1.8.4
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]: Companions by Astero is loading up...
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]: > YAML files are loaded up!
    [19:20:12] [Server thread/INFO]: > Caching files is done!
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]: (!) Vault and an Economy plugin has been found, the plugin will be using them.
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]: > Misc files are loaded up!
    [19:20:12] [Server thread/INFO]: > Event Listeners are loaded up!
    [19:20:12] [Server thread/INFO]: > Commands are loaded up!
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]:               >--------------------------<
    [19:20:12] [Server thread/INFO]:               A total of 20 Companions have
    [19:20:12] [Server thread/INFO]:                     been loaded up.
    [19:20:12] [Server thread/INFO]:               >--------------------------<
    [19:20:12] [Server thread/INFO]:
    [19:20:12] [Server thread/INFO]: > Connecting to the database..
    [19:20:12] [Server thread/INFO]: [com.zaxxer.hikari.HikariDataSource] HikariPool-1 - Starting...
    [19:20:12] [Server thread/ERROR]: Error occurred while enabling Companions v1.8.4 (Is it up to date?)
    java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
        at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:102) ~[?:?]
        at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:316) ~[?:?]
        at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:109) ~[?:?]
        at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108) ~[?:?]
        at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[?:?]
        at me.astero.companions.database.Database.createTable(Database.java:77) ~[?:?]
        at me.astero.companions.database.Database.<init>(Database.java:40) ~[?:?]
        at me.astero.companions.CompanionsPlugin.onEnable(CompanionsPlugin.java:135) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:593) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1070) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Purpur-1086]
        at java.lang.Thread.run(Unknown Source) [?:?]
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
        at java.net.URLClassLoader.findClass(Unknown Source) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:183) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.5.jar:git-Purpur-1086]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:89) ~[?:?]
        ... 17 more
    [19:20:12] [Server thread/INFO]: [Companions] Disabling Companions v1.8.4
    [19:20:12] [Server thread/INFO]: Companions is disabling and saving necessary files..
    [19:20:12] [Server thread/ERROR]: Error occurred while disabling Companions v1.8.4 (Is it up to date?)
    java.lang.NullPointerException: null
        at me.astero.companions.CompanionsPlugin.onDisable(CompanionsPlugin.java:183) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:415) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:516) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:384) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.5.jar:git-Purpur-1086]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:593) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1070) ~[patched_1.16.5.jar:git-Purpur-1086]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Purpur-1086]
        at java.lang.Thread.run(Unknown Source) [?:?]
     
    fix please.
     
  15. How to increase/decrease size of companions?
     
  16. Hi author!
    ATTACK CHANCE doesn't work
    please fix it!
     
  17. MySQL issue still happened on Paper, please use new method