[REQ] [DEV] Global (cross-plugin) variables

Discussion in 'Plugin Development' started by enkryptor, Feb 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    enkryptor

    Like with Permissions, it would be nice if plugins had shared data variables. For example:
    "Gastronomic" plugin provides %hunger% variable
    "iConomy" provides %money%
    "Towny" provides %status%

    Then you can use this variable with any other plugin, for instance, login message:
    "Welcome, %status%! Your balance is %money%. Your hunger is %hunger%."

    Is it possible with current development state? Is it a worth idea, at least?
     
  2. Offline

    fullwall

    This will probably be implemented as part of the persistence update - still waiting on storage method for that, though.
     
Thread Status:
Not open for further replies.

Share This Page