NyctoChallenge icon

NyctoChallenge -----

Make players feel scared in challenges!



NyctophobiaChallenge is a plugin which I made for fun! If you want to have new features please open a conversation or join my Discord: https://discord.gg/8QWmU4ebCC

Please note that this is an alpha plugin and may still contain some bugs! In order to get this plugin to work, the plugin Nyctophobia is MANDATORY: https://www.spigotmc.org/resources/nyctophobia.102177/

Whats Nyctophobia?

With Nyctophobia you can scare players with e.g. effects, messages, etc. when they're is in the dark! The plugin is 99% adjustable and offers many small features that can be activated and configured in the config! It also offers a small API for developers.

Whats NyctoChallenge?
With this addon you can embark on a challenge journey alone or with your friends! The goal is to defeat the Enderdragon (or any other monster configurable in the config) while not falling into the darkness or dying!

Features:
- Multiplayer
- Change All Events in the Config
- Pause, Start, Stop, Toggle and Restore, Save Timer Commands
- Change the Timer Actionbar
- Change the mob to beat
- Change all Command Messages, Permission, ...
- Restart Server after the Challenge

Config:
Code (YAML):
# #########################################################################################################################
#  ███╗░░██╗██╗░░░██╗░█████╗░████████╗░█████╗░░█████╗░██╗░░██╗░█████╗░██╗░░░░░██╗░░░░░███████╗███╗░░██╗░██████╗░███████╗ #
#  ████╗░██║╚██╗░██╔╝██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██║░░██║██╔══██╗██║░░░░░██║░░░░░██╔════╝████╗░██║██╔════╝░██╔════╝ #
#  ██╔██╗██║░╚████╔╝░██║░░╚═╝░░░██║░░░██║░░██║██║░░╚═╝███████║███████║██║░░░░░██║░░░░░█████╗░░██╔██╗██║██║░░██╗░█████╗░░ #
#  ██║╚████║░░╚██╔╝░░██║░░██╗░░░██║░░░██║░░██║██║░░██╗██╔══██║██╔══██║██║░░░░░██║░░░░░██╔══╝░░██║╚████║██║░░╚██╗██╔══╝░░ #
#  ██║░╚███║░░░██║░░░╚█████╔╝░░░██║░░░╚█████╔╝╚█████╔╝██║░░██║██║░░██║███████╗███████╗███████╗██║░╚███║╚██████╔╝███████╗ #
#  ╚═╝░░╚══╝░░░╚═╝░░░░╚════╝░░░░╚═╝░░░░╚════╝░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚══════╝╚══════╝╚═╝░░╚══╝░╚═════╝░╚══════╝ #
# #########################################################################################################################

# Change this to "false" if you want to disable this addon (for Nyctophobia)
# IMPORTANT: THIS ADDON WILL DISABLE ALL EVENTS/FEATURES OF THE OFFICIAL NYCTOPHOBIA PLUGIN WHILE IT IS ENABLED
Enabled
: true

# Multiplayer System
# THIS OPTION IS IMPORTANT IF YOU WANT TO PLAY FOR EXAMPLE WITH YOUR FRIENDS
Multiplayer
:
  # Change this to "true" if you want to play with more than you alone
  Enabled
: true
  # Set the minimum number of players
  MinPlayers
: 2
  # Set the maximum number of players
  MaxPlayers
: 5
  # Change this to "true" if you want, that all players die when one dies
  EndWhenOneDies
: false
  # Change this to "true" if you want, that only one player can win the challenge (for example killing the enderdragon)
  DuelMode
: false
  # This message will be sended if the maxplayers are reached
  MaxMessage
: '&cYou got kicked because the MaxPlayers are reached!'
  # This message will be sended if you disabled the multiplayer and someone wants to connect to the server)
  KickMessage
: '&cThis server does not support the multiplayer function! If you want
    to activate them, activate the Multiplayer function in the NyctoChallenge Config!'

# Enable some actions which will get triggered if the challenge starts
# If you want more EventTriggers like this, ask me on my discord: https://discord.gg/8QWmU4ebCC
OnStart
:
  # Change this to "false" if you want, that the inventory won't get cleared
  ClearInventory
: true
  # Change the gamemode (SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR)
  GameMode
: SURVIVAL
  # Message (every player on this server will see this message)
  Message
: '&e&lNyctoChallange &a&lstarted!'

# Enable some actions which will get triggered if a player dies OR IF HE ENTERED THE DARKNESS (because of the challange)
OnDeath
:
  # Change this to "false" if you want, that the inventory won't get cleared
  ClearInventory
: true
  # Change the gamemode (SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR)
  GameMode
: SPECTATOR
  # Message (only the player who died will see this message)
  # Placeholders: %player% (for the playername), %time% (for the time where the player died)
  PrivateMessage
: '&cYou''ve died!'
  # Message (every player on this server will see this message)
  # Placeholders: %player% (for the playername), %time% (for the time where the player died)
  PublicMessage
: '&c&lRIP! &c %player% died! (at %time%)'
  # Message (this message will be sended if the challenge ends after this death)
  # Placeholders: %player% (for the playername), %time% (for the time where the player died), %reason% for the reason
  MessageIfEnd
: '&c&lChallange failed because of &f&l %player%&c&l! Wasted time: %time%
    | Reason
: &f&l%reason%'
  # DuelDeath: This message will be sended if a player before you kill the GoalType
  DuelDeathMessage
: '&cYou died automatically because a player completed the challenge
    before you!'
  # Reason if you entered the darkness and died
  DarknessReason
: Entered the darkness
  # Reason if you stopped the challenge with a command
  StoppedReason
: Stopped with command
  # Same es before, but it is the GameMode to Change (DuelDeath) (SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR)
  DuelDeathGamemode
: SPECTATOR

# Enable some actions which will get triggered if the challenge ends
OnEnd
:
  # Change this to "false" if you want, that the inventory won't get cleared
  ClearInventory
: true
  # Change the gamemode (SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR)
  GameMode
: CREATIVE
  # Message (every player on this server will see this message)
  # Placeholders: %player% (for the playername who defeated the boss), %time% (for the time where the player died)
  Message
: "&e&lNyctoChallange &c&lstopped! \n &aBoss defeated in &e&l%time% &a(defeated\
    \ by %player%)"


# Enable some actions which will get triggered if the challenge will get paused (/nycchallenge pause)
OnPause
:
  # Change the gamemode (SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR)
  GameMode
: CREATIVE
  # Message (every player on this server will see this message)
  # Placeholders: %player% (for the playername who paused the challenge), %time% (for the time)
  Message
: "&e&lNyctoChallange &e&lpaused! \n &eTime spendet: &e&l%time% (paused by\
    \ %player%)"


# Settings for the timer in the ActionBar
ActionBarTimer
:
  # Change this to "false" if you want to disable the ActionBarTimer
  Enabled
: true
  # Change the format of the Actionbar
  # Placeholders: %hours% (for the played hours), %minutes% (for the played minutes), %seconds% (for the played seconds),
  # %lighting% (it will display the lighting which shines on the player), %maxlighting% (the lighting which should not get reached (read from the config of the Nyctophobia plugin))
  Format
:
    # Format if Challenge is started (/nycchallenge start or if StartOnJoin is enabled and all players got found)
    Started
: '&a&l %hours%:%minutes%:%seconds% &f&l| &a&l%lighting% > &c&l%maxlighting%'
    # Format if Challenge is paused (/nycchallenge pause)
    Paused
: '&e&l %hours%:%minutes%:%seconds%'
    # Format if Challenge is stopped (/nycchallenge stop or if noone survived)
    Stopped
: '&4&l %hours%:%minutes%:%seconds%'
    # Format if the Server is waiting for players (only working if multiplayer and startonjoin is enabled)
    # Placeholders: %players% (players on the server), %minplayers% (the minimum of players who can join), %maxplayers% (the maximum of players who can join)
    Waiting
: '&cWaiting for players : %players%/%minplayers%'

# Choose the monster that needs to be killed to complete the challenge
# All types are listed here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
GoalType
: CHICKEN

# Change the messages or permissions of the commands
# THIS MESSAGES WILL ONLY BE DISPLAYED TO THE PLAYER WHO EXECUTED THE COMMAND
Command
:
  # Command: /nycchallenge toggle
  Toggle
:
    Permission
: nyc.challenge.toggle
    MessageEnabled
: '&aThe Nyctophobia Challenge addon has been activated!'
    MessageDisabled
: '&cThe Nyctophobia Challenge addon has been disabled!'
  # Command: /nycchallenge start
  Start
:
    Permission
: nyc.challenge.start
    Message
: '&a&lThe Nyctophobia Challenge has been started!'
    AlreadyMessage
: '&cThe Challenge has already started!'
  # Command: /nycchallenge pause
  Pause
:
    Permission
: nyc.challenge.pause
    Message
: '&e&lThe Nyctophobia Challenge has been paused!'
    AlreadyMessage
: '&cThe Challenge has already paused!'
  # Command: /nycchallenge stop
  Stop
:
    Permission
: nyc.challenge.stop
    Message
: '&c&lThe Nyctophobia Challenge has been stopped!'
    AlreadyMessage
: '&cThe Challenge has already stopped!'
  # Command: /nycchallenge reload
  Reload
:
    Permission
: nyc.challenge.reload
    Message
: '&cThe Challenge Config was successfully reloaded!'
  # Command: /nycchallenge restore
  Restore
:
    Permission
: nyc.challenge.restore
    # Placeholders: %time% (for the restored time)
    Message
: '&aThe Timer was successfully restored! &e ( %time%)'
    NotExists
: '&cThe Timer could not be found!'
  # Command: /nycchallenge save (to save the timer)
  Save
:
    Permission
: nyc.challenge.save
    # Placeholders: %time% (for the saved time)
    Message
: '&aThe Timer was successfully saved! &e ( %time%)'
  # Command: /nycchallenge help (or if you're using the wrong syntax)
  Help
:
    Permission
: nyc.challenge.help
    Message
: '&cCommands : &e/nycc start, /nycc pause, /nycc stop, /nycc restore, /nycc
      save, /nycc toggle, /nycc reload /nycc help'
  # If you for example use the command /nycchallenge thisworddoesnotexist
  WrongSyntax
:
    # No Permission! The Permission to get this message is the Help Permission!
    Message
: '&c/nycc help'
  # If you do not have the permission
  NoPermission
:
    Message
: '&cYou do not have the permission to do this!'
  # The permission to use all of these commands
  OPPerm
:
    Permission
: nyc.challenge.*

# Change this to "false" if you don't want the challenge to start automatically when entering the server
# (if multiplayer is enabled the game will start after the minimum players are connected)
StartOnJoin
: true

# Restart server after failed/completed challenge
Restart
:
  # (RECOMMENDED TO SET THIS TO "TRUE")
  Enabled
: true
  # Delay in Seconds how many seconds it should take to restart
  Delay
: 20

# Save timer after reload/restart (also working with /nycchallenge save) (if you change this to "false" /nycchallenge restore won't work anymore)
SaveTimer
: true

# Change this to "false" if you want to disable the AutoUpdater
AutoUpdater
: true

# DO NOT CHANGE THIS!!!
# If you change this the config will reset itself!
config-version
: 1.0
 

I hope you like it! If there are any bugs please report it to me!
Resource Information
Author:
----------
Total Downloads: 123
First Release: Jun 10, 2022
Last Update: Jun 10, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings