NightExpress's Plugins Wiki

Custom Text

In plugin folder you can see /custom_text/ folder, this folder allows you to create custom texts.

All the files must have .txt extension. File name will be registered as a command.

When you type the custom text command it will show you text from file.

For example: By default there is rules.txt file, typing in-game /rules command will show you the text from this file.

Permission for each text is core.cmd.ctext.(file). Example: core.cmd.ctext.rules - for rules.txt

Config.yml

# Core settings
core:
  command-aliases: sunlight,core
  lang: en

# Database settings
data:
  # Save interval (in minutes)
  auto-save: 15
  storage:
    # Allowed types: SQLite, MySQL
    type: sqlite
    # Only for MySQL
    username: none
    password: none
    host: none
    database: none
  # Purge old data
  purge:
    enabled: false
    days: 60

# Global settings
general:
  # When true, completely disables rain and snow on server.
  disable-rain: false

# Command settings
commands:
  # List of disabled plugin commands.
  # Here you can provide SunLight commands you don't want to use.
  # Provide only one alias for each command.
  disabled: []
  # Time (in seconds) for /tpaccept command to accept teleport request before it becomes invalid.
  tpa-time: 30
  # Radius (in blocks) for /near command to show nearest player names.
  near-radius: 100
  # Here you can define custom cooldowns for ANY plugin commands!
  # Provide only one alias for each command.
  cooldowns:
    rtp: 60
  # Here you can define your own custom time commands.
  # By default it adds /day and /night commands.
  # Value = Minecraft world time in ticks.
  # Permission: core.cmd.time.[alias]. Example: core.cmd.time.day
  time:
    day: 0
    night: 13000
  # Settings for /nick command.
  nick:
    # Max. nick length
    max-lenght: 20
    # Min. nick length
    min-lenght: 3
    # Words, that nick can not contain.
    black-list:
    - Admin
  # Settings for private message commands.
  sms:
    # Play sound when send/receive private message.
    # Set sound name to 'NONE' to disable sound.
    sounds:
      send: UI_BUTTON_CLICK
      get: BLOCK_NOTE_BLOCK_BELL
  # Settings and format for /list command
  list:
    # Custom line format for each permission group.
    # Placeholders are:
    # - %color% - Rank color (see below)
    # - %players% - Online players amount of this rank.
    rank-format:
      Admins: '%color%›› &fAdmins: %players%'
      Users: '%color%›› &fPlayers: %players%'
    # Custom colors for each permission group.
    rank-color:
      Admins: '&4'
      Users: '&7'
    # Total /list format.
    # Put defined above rank name in '%' to display it's format.
    # Placeholders:
    # - %total% - Total server online.
    format:
    - '&8&m----------------&e&l Player List &8&m----------------'
    - '%Admins%'
    - '%Users%'
    - '&6There is &e%total% &6players online.'

control:
  # Fly control.
  fly:
    enabled: true
    # Fly will be disabled in specified worlds, if player don't have bypass permissions.
    worlds:
    - events
  gamemode:
    enabled: true
    # Specified gamemodes will be disabled from using.
    disallow:
    - SPECTATOR
  spawning:
    enabled: false
    # Enables/Disables mob spawning in specified worlds from specified reasons.
    worlds:
      some_world:
        NATURAL: false # Disables natural mob spawning in some_world
  god-mode:
    # Disables god-mode in specified worlds, if player don't have bypass permissions.
    worlds:
    - events

# Enables/Disables specified plugin modules.
modules:
  AFK: true
  BANS: true
  CHAT: true
  CHAIRS: true
  EXPLOITS: true
  GUI: true
  ECONOMY: true
  RTP: true
  HOMES: true
  KITS: true
  WARPS: true
  ANTI_LAGG: true
  TAB: true
  WORLDS: true
  SCOREBOARD: true
  SPAWN: true
Navigation