[Dev] EventLink v1 - send events to other servers [714]

Discussion in 'Inactive/Unsupported Plugins' started by Raphfrk, Feb 26, 2011.

  1. Offline

    Raphfrk

    EventLink - send events to other servers
    Version: v1

    This plugin creates an SSL link between 2 or more servers and allows passing of events between the servers. This same link is used for all communications between the 2 servers.

    The events must be serializable to be passed.

    Features:
    • Send Events to other plugins
    • Can route packets for servers not directly connected
    • /who for all players online
    • Maintains a list of all worlds anywhere on the cluster
    • Maintains a list of all servers anywhere on the cluster
    • Plugin defined routing points
    • SSL used for communications
    • Example Plugin Provided
    Download

    Jar Files

    Plugin - current
    Plugin - previous

    Example - current
    Example - previous

    Wiki

    Setup info

    Source

    Plugin
    Example

    Setup

    New servers can be added by players with Op permission level.

    /eventlink add otherserver.com:25365

    Sending events

    The interplugin mechanism must be used to obtain a reference to the EventLink plugin. Once that has been obtained, events can be easily sent.

    Code:
    eventLink.sendEvent("target.server.name", someEvent);
    
    Note, events must be serializable for them to be sent.
     
  2. Offline

    cyberbobjr

    Hi,
    i have not tested your plugin, but it seems to be interessant.
    I have "a blind"suggestion : the server should be set in a config file. In the same way : it is possible to set an url ?
    My idea is : i can set an url "receiver" for events, then the server take this event and save it into database. It's just an idea, but i can implement it for my Webukkit (http://forums.bukkit.org/threads/web-admn-webukkit-v0-beta6.4141/)
    regards.
     
  3. Offline

    Raphfrk

    When an event is sent, it sends a java object, which isn't plain text.

    Also, it only opens the connection once at the start. Do webservers allow a constant socket connection?

    You could try to invite a server and it will add the server's certificate into its data store.

    However, the server would have to reply to a connection by sending a java string.

    I don't have the code at hand, but the process is roughly

    Client opens SSL connection
    Client sends its server name
    Server sends its server name
    <Connection is now established>

    A java string is basically
    2 bytes
    2 bytes per character

    It doesn't currently do html stuff, but maybe that could be added.
     
  4. Offline

    vsTerminus

    This looks promising.

    It seems like a neat way to integrate server broadcasts for Joins/Quits/Deaths and Chatting, especially if you run a Creative and an SMP server side by side and aren't using some form of IRC integration.
     
  5. Offline

    Raphfrk

    I updated this so that it can handle routing.
     
  6. Offline

    IIGoldII

    Inactive...
     
  7. Offline

    Raphfrk

    No, it isn't. I haven't done much uploading since there seemed to be very little interest.

    I have fixed some deadlocks and split it out into an API and plugin file.
     
  8. Offline

    enelar

    !!!!!!!!
    Seniors developers!!!! Please!!!
     
  9. Offline

    childersc

    Raphfrk,

    Is this still an active project?
     
  10. Offline

    Raphfrk

    There was not much interest, so I didn't really do much updating.

    It is used for server port suite to connect servers to each other.
     
  11. Offline

    awesomebilly

    When I load this with 1.2.5 it crashes on launch.
     

Share This Page