PLUGIN DAY/TIME for Fallen kingdoms

Discussion in 'Plugin Requests' started by lefandacdc, Jan 31, 2015.

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

    lefandacdc

    Hello,
    I'm looking for a plugin that displays on the side of the screen the day and time of the fallen kingdoms party.

    thank you for your help.
     
  2. Offline

    BlazingBroGamer

    @lefandacdc
    What is the Fallen Kingdoms Party? Do you want it real time? Who does it get shown to? Use this page to make a proper post.
     
    timtower likes this.
  3. Offline

    lefandacdc

    I am French so it's a little complicated ...

    Fallen kingdoms is a type of game involving several teams must eliminated ..

    Time is one of the game, that is to say about 20 minutes to 1 day.
     
  4. Online

    timtower Administrator Administrator Moderator

  5. Offline

    lefandacdc

    The time il in the right of screen on the "timeboard"
     
  6. Online

    timtower Administrator Administrator Moderator

    @lefandacdc That is where it will be, not where it comes from.
     
  7. Offline

    lefandacdc

    time is generated by the plugin fallen kingdom but the plugin does not display
     
  8. Online

    timtower Administrator Administrator Moderator

    @lefandacdc Please also link the plugin if you want developers to hook into it
     
  9. Offline

    lefandacdc

  10. Online

    timtower Administrator Administrator Moderator

    @lefandacdc It will be damn difficult to hook into a plugin that probably isn't written in English.
     
  11. Offline

    lefandacdc

    I'm french, i use french plugin, sorry. But if you have even better in English, I'm ok
     
  12. Online

    timtower Administrator Administrator Moderator

    @lefandacdc The plugin is written in french, the methods are in french, the code is in french, that isn't exactly easy to hook into.
     
  13. Offline

    lefandacdc

    we are not forced to change the plugin, are there a plugin that displays just the time?

    My plugin manages time, it would just show ..

    EDIT by Timtower: merged posts
     
  14. Online

    timtower Administrator Administrator Moderator

    @lefandacdc And if not: they can be made.
    But what time will it be? In-game time translated to a readable thing?
    Normal world time?
    Some kind of space time?
     
  15. Offline

    lefandacdc

    Bah the game time 20mn irl for 1 day in game
     
  16. Offline

    au2001

    Actually, the methods/variables are in english, only the messages are in french...
    And I looked at this plugin, it doesn't have any API, it uses a Runnable.
    They have a "public World world" variable though, and they use world.getTime() to calculate the time so you could use TimeControl.world.getTime() and put it on a scoreboard.

    EDIT: Actually, there's even a FallenKingdoms.plugin.getGameHour() that gives the time in the format "hour:minute" (in 24h mode) but it doesn't seem to update :/

    EDIT 2: I found the method FallenKingdoms.plugin.saveTime() to update the time, it works fine but it's not really intuitive...
    And the plugin is spamming the console with this message, apparently useless :
    [INFO]: [FallenKingdoms] test

    @lefandacdc
    I made a quick plugin where you can put the players, the time and the current day.
    Here's the download link: http://www.shadowcasted.com/plugins/FallenKingdomsScoreboard.jar
     
    Last edited: Feb 1, 2015
  17. Offline

    lefandacdc

    Thank you, I'll try: D <3

    Edit :
    I tried your changes to the plugin, thank you, everything is perfect.

    good work!
     
    Last edited: Feb 1, 2015
  18. Offline

    au2001

    @lefandacdc You're welcome :p
    And btw, don't forget to tag/quote people if you want them to respond ;)
     
Thread Status:
Not open for further replies.

Share This Page