Spigot RelationTPA - Click to accept / shows Faction + relation color 2.0

A must have TP plugin for your Factions server

  1. DADADAD submitted a new resource:

    RelationTPA - A better TPA plugin for your Factions server

    Read more about this resource...
     
    #1 DADADAD, Dec 28, 2019
    Last edited: Jan 1, 2020
  2. Spanish translations
    Code (YAML):
    player_not_found: '&c&l(!) &cNo se encuentra el jugador!'
    too_many_args
    : '&c&l(!) &cDemasiados argumentos!'
    not_allowed
    : '&c&l(!) &cNo tienes permiso para hacer esto'
    missing_arguments
    : '&c&l(!) &cFaltan argumentos!'
    cannot_self
    : '&c&l(!)&c No puedes enviarte una solicitud a ti mismo.'
    req_not_found
    : '&c&l(!) &cNo se encuentra ninguna solicitud'
    tpa_request
    : '{fc}&l(!) &7Enviaste una solicutud de teletransporte a {fc}{rs}{faction} {player}'
    player_request
    : '{fc}{rs}{faction} {player} &7te envió una solicitud de teletransporte teleportation request'
    accept_hover
    : '&a&nAceptar&7 la solicitud de teletransporte de {fc}{rs}{faction} {player}'
    decline_hover
    : '&c&nRechazar&7 la solicitud de teletransporte de {fc}{rs}{faction} {player}'
    use_accept_deny
    : '{fc} * &7Clickea o Escribe: '
    tpaccept_comp
    : '{fc}&n/tpaccept {player}&7 para aceptar'
    tpdecline_comp
    : '{fc}&n/tpdecline {player}&7 para rechazar'
    will_expire_in
    : '&7La solicitud expirará en {fc}{s} segundos'
    expired_from
    : '{fc}&l(!) &7Solicitud de teletransporte de {fc}{rs}{faction} {player} &7Expirada'
    expired_to
    : '{fc}&l(!) &7Solicitud de teletransporte hacia {fc}{rs}{faction} {player} &7Expirada'
    target_accepted
    : '{fc}&l(!)&7 {fc}{rs}{faction} {player} &aAceptó &7tu solicitud de teletransporte'
    you_accepted
    : '{fc}&l(!) &aAceptaste&7 la solicitud de {fc}{rs}{faction} {player}'
    target_declined
    : '{fc}&l(!)&7 {fc}{rs}{faction} {player} &cRechazó &7tu solicitud de teletransporte'
    you_declined
    : '{fc}&l(!) &cRechazaste&7 la solicitud de {fc}{rs}{faction} {player}'
    you_cancelled
    : '{fc}&l(!) &7Cancelaste tu teletransportación hacia {fc}{rs}{faction} {player}'
    target_cancelled
    : '{fc}&l(!) {fc}{rs}{faction} {player} &7canceló la teletransportación'
    teleporting
    : '{fc}&l(!) &7Te teletransportarás en {fc}{s}&7 segundos. &cNo&7 te muevas'
    teleport_finishing
    : '{fc}&l(!) &7Teletransportando..'
    teleport_finished
    : '{fc}&l(!) &7Te teletransportaste hacia {fc}{rs}{faction} {player}'
     
  3. DADADAD updated RelationTPA - Click to accept / shows Faction + relation color with a new update entry:

    Major Update - 1.1b

    Read the rest of this update entry...
     
    #3 DADADAD, Jan 19, 2020
    Last edited: Jan 21, 2020
  4. since last update i been havin this error, getTitle() is deprecated

    Code (Text):
    14.02 16:31:47 [Server] ERROR Could not pass event InventoryClickEvent to RelationTPA v1.1b
    14.02 16:31:47 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getTitle()Ljava/lang/String;
    14.02 16:31:47 [Server] INFO at me.httpdjuro.relationtpa.gui.GUIHandler.guiInteract(GUIHandler.java:70) ~[?:?]
    14.02 16:31:47 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor377.execute(Unknown Source) ~[?:?]
    14.02 16:31:47 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:2329) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1172) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934) ~[patched_1.15.2.jar:git-Paper-103]
    14.02 16:31:47 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
     
     
  5. Seems like a deprecated method i was using was removed on the newer version of spigot, but according to your stack trace you are clearly running 1.15 for which this plugin was not tested. Ill maybe look into it later
     
    • Like Like x 1
  6. yeah, i am using 1.15.2 that implements 1.15-R1 API, the past version worked fine and this version too, it is just that error
     
  7. the past version didn't have a gui and the metod that seems like it was removed is a thing that i use to check if the gui is open
     
    • Like Like x 1
    • Agree Agree x 1
    • Like Like x 1
  8. Could you make this work with normal Factions / MassiveCore
     
  9. Theoretically yes, probably won't happen, so I'd recommend that you get a FactionsUUID fork (some are free)
     
    • Like Like x 1
    • Friendly Friendly x 1
  10. DADADAD updated RelationTPA - Click to accept / shows Faction + relation color with a new update entry:

    Major Recode - RelationTPA 2.0

    Read the rest of this update entry...