πŸ•˜StaffTime

Control staff times

config.yml
stafftime:
    week_start: MONDAY
    discord_hook:
        enabled: false
        join:
            enabled: true
            url: https://discord.com/api/webhooks/xxxxxxxx/yyyyyyyyyyyy
            avatar: https://www.spigotmc.org/data/resource_icons/123/123517.jpg?1742847968
            username: VelocityUtils
            color_rgb: 45,255,0
            title: πŸ•’Staff JoinπŸ•’
            message: |
                πŸ•’ **{player}** joined the server
        change:
            enabled: true
            url: https://discord.com/api/webhooks/xxxxxxxx/yyyyyyyyyyyy
            avatar: https://www.spigotmc.org/data/resource_icons/123/123517.jpg?1742847968
            username: VelocityUtils
            color_rgb: 255,255,0
            title: πŸ•’Staff ChangeπŸ•’
            message: |
                πŸ•’ **{player}** changed the server
                πŸ“‹ {from} > {to}
        leave:
            enabled: true
            url: https://discord.com/api/webhooks/xxxxxxxx/yyyyyyyyyyyy
            avatar: https://www.spigotmc.org/data/resource_icons/123/123517.jpg?1742847968
            username: VelocityUtils
            color_rgb: 255,0,0
            title: πŸ•’Staff LeaveπŸ•’
            message: |
                πŸ•’ **{player}** left the server
                πŸ“… Time today: {time_daily}
                πŸ“… Time this week: {time_weekly}
                πŸ“… Time this month: {time_monthly}
                πŸ“‹ {time} this session
                πŸ–ŠοΈ Servers this session:
                {serverstime}
            serverstime: '- {server} - {time}'
    command:
        enabled: true
        no_type:
        - '&f-----------------------------'
        - '&eStaff Time from {player}'
        - '&fToday: &b{day}'
        - '&fWeek: &b{week}'
        - '&fMonth: &b{month}'
        - '&f-----------------------------'
        type:
        - '&f-----------------------------'
        - '&eStaff Time from {player} ({type})'
        - '&f{type}: &b{time}'
        - '&f-----------------------------'
        day: Day
        week: Week
        month: Month

You can see the time a staff has been connected on the server.

You can choose the day you want the week to start with, you have to put the name of the day on mayus (MONDAY by default - monday to sunday)

You can connect a discord webhook to send a message to a discord channel when the player joins, leaves and/or changes server.

You can also enable the command /stafftime to see the staff time ingame (and you can change the words day, week and month)

Last updated