📜logs.yml
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~ DeltaStaff Logs Module ~
#~ NOTE: This feature is currently in BETA mode. Your feedback ~
#~ is valuable in refining our services. If you encounter ~
#~ any issues, please disable it and inform us! ~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FILE-VERSION: '1'
# General information about the module
GENERAL:
LOGS: # Info on the main /logs command
DESCRIPTION: 'See what actions a staff performed.' # What should the command description be?
PERMISSION: 'deltastaff.staff.logs.use' # What should the permission to use the command be?
ALIASES: # What should the base command aliases be?
- 'logs'
- 'viewlogs'
TYPE: "GUI" #GUI, CHAT
LOGS_PER_PAGE: AUTO # USE AUTO IN CASE YOU DO NOT WANT TO CALCULATE (( EXPERIMENTAL ))
CHAT:
INVALID_PAGE_MESSAGE: "&cInvalid page number. There are only {totalPages} pages."
HEADER_MESSAGE: "Logs for player {0} &8(&7Page &d{2}&7 of &d{3}&8):"
NO_LOGS_MESSAGE: "&cNo logs found for this player."
LOG_MESSAGE: "&7Action: &d{action}&8 | &7Timestamp: &d{timestamp} &8(&d{relativeTime} ago&8)"
VIEW_MORE_MESSAGE: "&7NOTE: Type &d/deltalogs {0} {4}&7 to view more logs."
ERROR_MESSAGE: "&cError retrieving logs: {error}"
GUI:
SIZE: 54
HEADER_MESSAGE: "&7Logs for player {0}:"
NO_LOGS_MESSAGE: "&cNo logs found for this player."
LOG_ITEM_NAME: "&7Action: &d{action}&8 | &7Timestamp: &d{timestamp} &8(&d{relativeTime} ago&8)"
INVALID_PAGE_MESSAGE: "&cInvalid page number. There are only {totalPages} pages."
PREVIOUS_PAGE_ITEM_NAME: "&dPrevious Page"
NEXT_PAGE_ITEM_NAME: "&dNext Page"
MESSAGES:
PLAYER-ONLY: "&cThis command can only be used by players."
USAGE: "&cUsage: /deltalogs <player> [page]"
PLAYER-NOT-FOUND: "&cPlayer not found."
INVALID-PAGE: "&cInvalid page number. Please enter a valid number."
Last updated