05-18-2017, 04:21 AM
05-18-2017, 07:06 AM
I believe there's only one LastBedPos per player, and it has a LastBedWorld tied to it somehow (not sure). I.e. if a player dies in any world, they are sent to their LastBedPos at their LastBedWorld.
05-18-2017, 07:17 PM
(05-18-2017, 07:06 AM)xoft Wrote: [ -> ]I believe there's only one LastBedPos per player, and it has a LastBedWorld tied to it somehow (not sure). I.e. if a player dies in any world, they are sent to their LastBedPos at their LastBedWorld.
Ah okay, then i will add a funtion for save bed by world in my plugin. Its okay to modify the /cb/player.ini for this or its better to make a new ini file?
05-18-2017, 07:32 PM
Create a new file for it in the plugin working folder:
Example:
<plugin name>/players/<UUID from player>.ini
or
<plugin name>/players.ini
Example:
<plugin name>/players/<UUID from player>.ini
or
<plugin name>/players.ini
05-18-2017, 08:10 PM
Even better, use a sqlite database for all the positions in a single file.