DungeonsXL icon indicating copy to clipboard operation
DungeonsXL copied to clipboard

PlayCommand.java didn't use GroupAdapter, should it?

Open RadND opened this issue 2 years ago • 2 comments

I want to let players use Multverse-Portal(https://github.com/Multiverse/Multiverse-Portals) 's Portal to enter DXL 's Dungeon So I write some code , it listen portal event and check some player condition -> if true -> /dxl play <portal_destnation_name>

that's fine,at least if that's not fine it's not dxl to blame,but then I plan to use my own Group plugin (to make every player have a group by default because dungeons I made usually can be played single-player), and DungeonsAPI do not provide getGroupAdapter() so what will happen is only player who enter the portal is teleported to dungeon , and in dxl 's perspective this player is playing dungeon alone

Should /dxl play use groupadapter? Is it the only way to solve my problem?

RadND avatar Jan 09 '23 13:01 RadND