LobbyAPI - Open discussion
#3
The entire thing should be a separate plugin, because there will be multiple client plugins and they have to share the arena data somehow - the LobbyAPI plugin must check if two arenas (for two different plugins) overlap etc.

Technically, you could make an API layer which would be that single file that is dropped into each client plugin and provides a nice clean API with tables, and internally serializes those tables somehow and sends them over to the actual plugin via CallPlugin.

I think this thread should be more high-level: Define objects the API plugin will be working with - arena, lobby, player, spectator, score etc. Then define relations between the objects. From there we'll see what functions will be needed. Consider this an early prototype for the documentation, an introduction of sorts for someone who wants to write a minigame plugin but has no idea how minigames work.
Reply
Thanks given by:


Messages In This Thread
LobbyAPI - Open discussion - by chrobione - 12-09-2015, 04:39 AM
RE: LobbyAPI - Open discussion - by xoft - 12-09-2015, 03:55 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 12:33 AM
RE: LobbyAPI - Open discussion - by xoft - 12-10-2015, 02:27 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 06:19 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 07:35 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 07:40 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 08:00 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 09:34 AM
RE: LobbyAPI - Open discussion - by chrobione - 12-10-2015, 03:17 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 06:06 PM
RE: LobbyAPI - Open discussion - by Seadragon91 - 12-10-2015, 06:15 PM
RE: LobbyAPI - Open discussion - by jan64 - 12-11-2015, 01:11 AM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 05:55 AM
RE: LobbyAPI - Open discussion - by chrobione - 12-11-2015, 06:00 AM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 06:01 AM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 08:33 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-11-2015, 08:51 PM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 09:02 PM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 10:33 PM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 10:34 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-13-2016, 06:07 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-13-2016, 08:04 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-13-2016, 11:39 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-14-2016, 11:38 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-15-2016, 12:54 AM
RE: LobbyAPI - Open discussion - by xoft - 07-15-2016, 07:30 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-15-2016, 05:26 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-15-2016, 05:34 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-23-2016, 04:56 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-23-2016, 05:51 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-23-2016, 09:59 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-23-2016, 10:57 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-24-2016, 03:09 AM
RE: LobbyAPI - Open discussion - by xoft - 07-24-2016, 05:03 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-30-2016, 11:44 PM
RE: LobbyAPI - Open discussion - by yangm97 - 12-03-2016, 11:22 PM



Users browsing this thread: 11 Guest(s)