Teleportation aller-retour avec permission

choupichon

Aventurier
4 Janvier 2020
9
0
1
35
Crash test du soir : Quand on rallume le serveur, il ne charge pas les paramètres qu'on lui avait donné.

Explications :
Avant extinction serveur, tout est nominal.
Après rallumage serveur :
La fonction Transport répond "You have not yet been assigned to a target destination."
Le fichier est pourtant toujours bien rempli comme il le faut, comme avant l'extinction.
7f844fb0-a8dd-4b4e-aa2f-xxxxxxxxxxxx:
target:
==: org.bukkit.Location
world: Treasure_unv
x: -136.5
y: 101.0
z: 52.5
pitch: 0.0
yaw: 270.0
source:
==: org.bukkit.Location
world: world
x: -38.9555360961258
y: 65.0
z: 35.56469551969479
pitch: -28.064257
yaw: -33.02702
8a357612-608c-4156-b3db-xxxxxxxxxxxx:
target:
==: org.bukkit.Location
world: Treasure_unv
x: -106.5
y: 101.0
z: 125.0
pitch: 0.0
yaw: 270.0
En utilisant la fonction Transporter pour remettre un target à un joueur, le fichier enregistre les nouvelles informations pour se joueur et met des acollades vides pour les autres.
7f844fb0-a8dd-4b4e-aa2f-xxxxxxxxxxxx:
target:
==: org.bukkit.Location
world: Treasure_unv
x: -136.5
y: 101.0
z: 52.5
pitch: 0.0
yaw: 270.0
source:
==: org.bukkit.Location
world: world
x: -38.9555360961258
y: 65.0
z: 35.56469551969479
pitch: -28.064257
yaw: -33.02702
8a357612-608c-4156-b3db-xxxxxxxxxxxx: {}
Le joueur impacté par Transporter à un déroulement nominal maintenant avec la fonction Transport.
 

choupichon

Aventurier
4 Janvier 2020
9
0
1
35
Si tu as raison, je n'avais pas fait attention avec toutes ces lignes
En gros, ça donne ça :
Code:
[Island Transporter] Enabling IslandTransporter v1.0.0
[Server thread/ERROR]: Could not call method 'public static org.bukkit.Location org.bukkit.Location.deserialize(java.util.Map)' of class org.bukkit.Location for deserialization
java.lang.IllegalArgumentException: unknown world
...
[Server thread/ERROR]: Could not call method 'public static org.bukkit.Location org.bukkit.Location.deserialize(java.util.Map)' of class org.bukkit.Location for deserialization
java.lang.IllegalArgumentException: unknown world
...
[Server thread/WARN]: [Island Transporter] Skipping section af92a11f-f696-4ff1-943c-xxxxxxxxx
java.lang.NullPointerException: target must not be null
 

ShE3py

Enbogueuse
Support
26 Septembre 2015
4 155
164
465
247
21
Mìlhüsa
Il ne reconnaît pas les mondes, vérifient qu'ils existent toujours, mais je pense que le plugin s'active avant celui qui les gères, et que donc ils n'existent pas encore.
Donne le nom du plugin que tu utilises pour les mondes, histoire que je lui dise de s'activer après lui.
 

ShE3py

Enbogueuse
Support
26 Septembre 2015
4 155
164
465
247
21
Mìlhüsa
J'ai mit Multiverse en softdepend, normalement il devrait se charger après lui et il devrait pouvoir charger les mondes.
 

Fichiers joints

  • IslandTransporter-1.0.1.jar
    11.5 KB · Affichages: 249