Filled OP Timer

Discussion in 'Plugin Requests' started by Tomatoblaster, Jan 19, 2018.

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

    Tomatoblaster

    Plugin category: Admin Tools

    Minecraft version: 1.12.2

    Suggested name: OP Timer

    What I want: Hi, im pretty sure this is possible but im not really sure. I would like to have a plugin, where perhaps you do a command and /op a person for a specific amount of time such as 1 hour or something. After the time has run out, the person is deopped and put into survival mode.

    Ideas for commands: /op <time> (The time can be something like 12hours or 10minutes for example)

    Ideas for permissions: Only opped people can use it

    When I'd like it by: Whenever you like! I'm not in too much of a rush.
     
  2. Offline

    Zombie_Striker

    @Tomatoblaster
    Though this seems interesting, OPing players can do a LOT of damage. Not only would such a thing allow the user to do absolutely anything, but it can even be used to Op themselves permanently.

    Are you sure you really want a user to be Opped, or is there something more specific that you are trying to achieve?
     
  3. Offline

    Dai_Kunai

    What happens if the server turns off before the timer runs out? Do they get deopped and it cancels, or does it save the time and pause it for when it comes back on?
     
  4. I will work on it!

    Finished!
    http://railduction.eu/download/OpTimer-1.0.7.jar

    Features:
    - OPs can OP anyone for a certain Time
    - OPs that have OP for a certain Time cannot op or deop others
    - After the Time has ran out the Player gets Deopped and set in Survival Mode
    - OPed Person and OPer will get Messages
    - Supports Offline-Players
    - Supports h, hour; m, min, minute/s; s, sec, second/s
    - Time-System also works after Server-Restarts

    Examples:
    OP "FurRail" for 1 hour and 30minutes
    /op FurRail 90m
    or
    /op FurRail 1h 30m
    or
    /op FurRail 60m 30m

    Check own OpTimer status
    /optimer

    Known problems:
    You can only op for a certain time ingame.. console is not supported,
    but you can cancel an OpTimer from Console

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 31, 2018
Thread Status:
Not open for further replies.

Share This Page