[Request] Server Changelog Plugin

Discussion in 'Archived: Plugin Requests' started by FordRaptor, Apr 18, 2014.

  1. Offline

    FordRaptor

    Plugin category: Admin Tools

    Suggested name: Server Changelog or just Changelog

    What I want:

    I want a plugin where the server owner can make changelogs that can be viewed by the players so the players can see what updates were done to the server. I haven't been able to find any plugins that do this so this is my request.

    The server owner types "/changelog create" to create a new changelog text file in the plugin folder titled as "YEAR-MONTH-DAY" (ex. 2014-04-18). Then the server owner goes to the plugin folder and edits the new text file as he/she wishes. Color code support would be nice.

    When a new changelog file is created, the player is notified on server join (ex. Updates were made to the server. Use /changelog to view the changes). The player should only be notified about the new changelog once (as some people may not be interested in checking the changelog).

    When a player types /changelog, they are given a list of changelog titles (latest show first) along with a number assigned to the changelog. To see page two (or three, four, etc.), the player would type /changelog 2

    For example:

    Changelogs - Page 1/2
    - [1] 2014-04-18
    - [2] 2014-04-15
    - [3] 2014-03-27
    - [4] 2014-03-24
    - [5] 2014-03-20

    If the player wanted to view the changelog from April 15th, the player types /changelog view 2 and the plugin would send the chosen changelog text to the player.

    Ideas for commands:

    /changelog [PageNumber] - Shows 5 changelogs per page (latest first)
    /changelog view [ChangelogNumber] - Shows the text from the chosen changelog file

    /changelog create - Creates a new changelog text file in the plugin folder titled as "YEAR-MONTH-DAY" (ex. 2014-04-18). If duplicate changelog file exists, player would receive error message stating "A changelog for todays date was already created"

    /changelog delete [ChangelogNumber] - Deletes the chosen changelog file from the plugin folder


    Ideas for permissions:

    changelog.view - Allows player to view the changelogs [Default Everyone]
    changelog.create - Allows player to create a new changelog text file [Default OP]
    changelog.delete - Allows player to delete a changelog text file [Default OP]


    When I'd like it by: Soon
     
  2. Offline

    Gopaintman

    I can do this, expect this "Soon". However Soon is a relative term ;D
     
  3. Offline

    FordRaptor


    Cool. Would this be hard to make and how long do you think it would take to make it? I wasn't sure what to put for the "When I'd like it by" part. Obviously you want it now but that's not going to happen, lol. Also, I need it to be supported on CraftBucket 1.7.2.
     
  4. Offline

    RickyBGamez

    FordRaptor I could make this, but they would have to add the changes in a config file by themselves, if that is fine I can make that within a hour or so of this message! Plus it will have color codes, and a custom title like [CoolNetworks] ChangeLog: If all that is good let me know and I will start working on it
     
  5. Offline

    FordRaptor


    Couple questions:

    1. Would it be able to have multiple changelogs (meaning you can look up old changelogs) or would it be just one changelog?


    2. When you update the changelog with the server running, you would have to reload the plugin because it involves a config file? I keep my server up 24/7.
     
  6. Offline

    RickyBGamez

    FordRaptor

    1. It will have a system where you type it in chat so like

    15/4/14:
    -Fixed something
    16/4/14:
    -Did something
    17/4/14:
    -Fixed something
    18/4/14:
    -Did something

    It will show everything in this I might be able to set up a system where you type a date and it will only show that changelog.

    2. You will have to type reload in console you dont need to restart the entire server, just type reload in console and it reloads all the plugins
     
  7. Offline

    FordRaptor

    RickyBGamez

    1. I would much rather have it to where you control the changelog by editing the file instead of in chat. I believe it would be much easier. Also I need to be able to put multiple lines like as follows: (sorry if I wasn't clear in the beginning):

    04/18/2014:
    - Fixed whatever
    - Added this
    - Added that
    - Removed this

    Since I keep the server up 24/7, I only take it down to do updates in bunches to limit down time.

    2. I really would like it if players could look up older changelogs. Then if a player forgets what was changed, they can look up the older changelog.

    3. I have a lot of plugins on the server and I do not want to reload every plugin whenever I need to update the changelog. If the changelog plugin has its own reload abiliy like /changelog reload or /changelog update, that would be fine.
     
  8. Offline

    RickyBGamez

    FordRaptor Sorry I cant do this, I am new to coding and I dont know how to create separate log files.
     
  9. Offline

    FordRaptor

    RickyBGamez

    Alright, thanks for your time.


    Gopaintman

    Are you still able to make this plugin for me?
     
  10. Offline

    Gopaintman

    Yes
     
  11. Offline

    FordRaptor

  12. Offline

    tonnic

    I'm very interested in this as well
     
  13. Offline

    FordRaptor

    Gopaintman

    Any updates for us or maybe an ETA?
     
  14. Offline

    Gopaintman

    Very close to being finished. Just cleaning up code and testing.
     
  15. Offline

    FordRaptor

    Gopaintman

    Nice. Thanks again for working on this. I appreciate it.
     

Share This Page