-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d831000
commit 8d79434
Showing
43 changed files
with
6,470 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
2.13.51 | ||
D1 | ||
2.13.50 | ||
D1 Added a config option for when a nickname is not set to use displayname or username. | ||
D2 Added debug logs for previous changes. | ||
D3 Added more debug code, and changed some defaults. | ||
D4 Switched to i18n language files, reworked update checker. | ||
2.13.49 | ||
D1- Added support for Bloodmoon Advanced. | ||
D2- Added a check for DisplayName when Essentials nick is returned as null. | ||
D3- Added color formatter for displayNames when Essentials/VentureChat/HexNicks returns null | ||
D4- Changed method for formatting displayNames in re: above. | ||
D5 Added debug checks on nickname getter. | ||
D6 Fixed issue with chars in HexNicks nicknames. | ||
1.13_2.13.48 | ||
D1- Added HexNicks support. | ||
D2-3 Fixed HexNicks formatting. | ||
D4- Finally fixed HexNicks json formatting. | ||
D5- Minor changes to UpdateChecker Notifications. | ||
1.13_2.13.47 | ||
Added permission debug logging, "/sps check", and "/sps check playername" commands. | ||
Anyone can check their own permissions, but only people with sps.op can check permissions of others. | ||
Fixed an issue with update command causing a NPE. | ||
Fixed an issue with the /sleep command always using world 0 as the Night/Storm check world. | ||
Changed reloading method, added simplified Chinese(zh_CN) translation from (NagaseYami) | ||
Added new config option "reset_insomnia" to reset the stat "time_since_rest" for all players in the sleeping player's world to prevent phantom spawning | ||
Fixed text formatting with nicknames. | ||
Added Japanese (ja_JP) translation from (mtmtyu) | ||
1.13_2.13.46 | ||
Fixed issue of broadcasting to world's not where sleep, cancel, dayskip were initiated. | ||
Added config option for per world broadcasting. | ||
Fixed issue of a floating bracket. | ||
Fixed a minor bug involving an exception and a possible console spam. | ||
Players with sps.unrestricted permission will have color sleepmsgs. | ||
Fixed incomplete text issue. | ||
Added new config option. exitbedcancel: false | ||
Added tab complete for commands. | ||
1.13_2.13.45 | ||
UpdateChecker update, should no longer say there is an update when using a Dev version. | ||
/sps update, now runs Asynchronously, which should not cause server freeze. | ||
Add configs for Blacklist sleep/dayskip | ||
Fix for issue reported by @nickly | ||
Fixed config. | ||
1.13_2.13.44 | ||
Added color support in sleepmsgs. | ||
Added RGB Color support in sleepmsgs. | ||
Added color codes both <COLOR> and §xRRGGBB to sleepmsgs | ||
Added Color and RGB Color support to the dayskipmsg (Edited via lang files.) | ||
Changed getDisplayName to getName to remove prefixes added by other plugins. | ||
Added Quotation marks around playername in the tellraw command of sendJson. (Added by ImDaBigBoss) | ||
sleepmsgcolor and playernamecolor will be obsolete in the next version, but are needed for now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,98 @@ | ||
# change to false to stop auto-update-check | ||
auto-update-check: default | ||
# color of [CANCEL] | ||
cancelcolor: default | ||
# set to true to broadcast "<player> canceled sleep." | ||
# set to false not to broadcast that msg. | ||
cancelbroadcast: default | ||
# set to true before sending a log about an issue. | ||
#logs trace data required to pinpoint where errors are. | ||
debug: default | ||
lang: default | ||
# DO NOT CHANGE VERSION | ||
version: 1.0.7 | ||
# | ||
# Change to false to stop auto-update-check. | ||
auto_update_check: true | ||
# | ||
# Set to true before sending a log about an issue. | ||
# Logs trace data required to pinpoint where errors are. | ||
debug: false | ||
# | ||
# Set the language to use, en_US, nl_NL, lol_US, fr_FR, de_DE, zh_CN, cs-CZ, pt_BR | ||
lang: en_US | ||
# | ||
# Set Blacklist worlds, Names are Case Sensitive, World does not equal world | ||
blacklist: | ||
sleep: world_nether, world_the_end | ||
dayskip: world_nether, world_the_end | ||
# | ||
# Should broadcasts be per world, or server wide? (Should be true for multiverse) | ||
broadcast_per_world: true | ||
# | ||
# Should SPS reset the time_since_rest stat for all players in the world that the sleeping player is in? | ||
reset_insomnia: false | ||
# | ||
# Enables fancy ANSI colors in console. | ||
colorful_console: true | ||
# | ||
# Set whether to allow player to stop rain when it is not night. | ||
clearrain_enabled: false | ||
# | ||
# If true this will disable all broadcast messages and allow anyone to sleep. | ||
unrestrictedsleep: false | ||
# | ||
# Set wake time, Early (23000) or Normal (24000) | ||
waketime: NORMAL | ||
# | ||
# Delay between sleep, and change to day, in seconds. Minimum 1, recommend 10. | ||
sleepdelay: 10 | ||
# | ||
# Enable(true) or Disable(false) dayskipper | ||
enabledayskipper: false | ||
# Delay between request for DaySkip, and change to night, in seconds. Minimum 1, recommend 10. | ||
dayskipdelay: 10 | ||
# If true this will disable ability of players to cancel DaySkipper | ||
unrestricteddayskipper: false | ||
# Require DaySkipper item | ||
dayskipperitemrequired: true | ||
# | ||
# Set the color of the [CANCEL] link text in broadcast messages. Format RED | ||
# Colors: AQUA, BLACK, GOLD, GRAY, BLUE, GREEN, RED, YELLOW, WHITE | ||
# DARK_AQUA, DARK_BLUE, DARK_GRAY, DARK_GREEN, DARK_RED, DARK_PURPLE, LIGHT_PURPLE | ||
# MAGIC, BOLD, STRIKETHROUGH, UNDERLINE, ITALIC, RESET | ||
cancelcolor: RED | ||
cancelbracketcolor: YELLOW | ||
# Sleep message color, see above | ||
sleepmsgcolor: WHITE | ||
# Player name color, see above | ||
playernamecolor: WHITE | ||
# | ||
# Set to true to have SPS cancel sleep if the player exits their bed. | ||
exitbedcancel: false | ||
# Set if cancel is shown or not. | ||
display_cancel: true | ||
# Set to true to broadcast "<player> canceled sleep." | ||
# Set to false not to broadcast that message. | ||
cancelbroadcast: true | ||
# | ||
# Set the time limit in seconds which a player must wait between attempting to sleep again. | ||
# This prevents a user from spamming chat with sleep messages. | ||
# Set to 0 to disable. | ||
sleeplimit: 60 | ||
# Set the time limit in seconds which a player must wait between attempting to cancel again. | ||
# This prevents a user from spamming chat with cancel messages. | ||
# Set to 0 to disable. | ||
cancellimit: 60 | ||
# | ||
# Set whether the player should be told it must be night to use. | ||
notifymustbenight: false | ||
# | ||
# Should SPS use the Player's DisplayName(true) or UserName(false), if they have no set Nickname? | ||
nickname: | ||
usedisplayname: true | ||
# | ||
# Set to true to use random sleep msgs. | ||
randomsleepmsgs: true | ||
# | ||
# Set to the number of sleep msgs | ||
numberofsleepmsgs: 5 | ||
# Set msgs for random sleep msgs here "sleepmsg#: <player> msg here" | ||
# Don't forget the space between : and the start of the message. | ||
# Color codes are now usable in sleepmsgs, Example: <BLACK>Black<RESET>Reset | ||
# RGB format is §xFF00FF (§xFFFFFF<player> §x000000i§x999999s §x111111s§x888888l§x222222e§x777777e§x333333p§x666666i§x444444n§x555555g) | ||
# THERE MUST BE A COLOR CODE IN FRONT | ||
sleepmsg1: §xFFFFFF<player> §xFF0000is §xFF7F00s§xFFFF00l§x00FF00ee§x0000FFpi§x4b0082n§x9400D3g | ||
sleepmsg2: §xFFFFFF<player> §x00FFFFwent to bed. Sweet Dreams | ||
sleepmsg3: <YELLOW>Shhh! §xFFFFFF<player> §xFF0000is §xFF00FFtrying §x0000FFto §x00FF00sleep! | ||
sleepmsg4: §xFFFFFF<player> §xFF00FFis asleep at the wheel | ||
sleepmsg5: §xFFFFFFNO ONE<colon> ...\n§xFFFFFF<player><colon> §xFFFF00go to bed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
sps.command.cancelhelp=Cancels Single Player Sleep. Does not change to day. | ||
sps.command.spshelp=Shows SinglePlayerSleep help. | ||
sps.command.spsreload=Reload config file. | ||
sps.command.spsupdate=Check for update. | ||
sps.command.toggledebug=Temporarily toggles debug. | ||
sps.message.bloodmoon=You can not sleep during a bloodmoon. | ||
sps.message.boolean.true=TRUE | ||
sps.message.boolean.false=FALSE | ||
sps.message.cancel=CANCEL | ||
sps.message.canceledsleep=<player> canceled sleeping. | ||
sps.message.cancelunrestricted=Canceling is disabled. | ||
sps.message.clickcancel=Click to cancel sleep | ||
sps.message.dayskipblackbed=Bed must be black to use DaySkipper. | ||
sps.message.dayskipcancel=CANCEL | ||
sps.message.dayskipcanceled=<player> canceled DaySkip. | ||
sps.message.dayskipclickcancel=Click to cancel DaySkip | ||
sps.message.dayskipmsg=<WHITE><player> <WHITE>wants to <BLUE>sleep <WHITE>the <YELLOW>day <WHITE>away... | ||
sps.message.dayskipmsgcommand=<WHITE><player> wants to sleep the day away...<command> | ||
sps.message.dayskipsettime=Setting time to night. | ||
sps.message.debugtrue=Debug set to <boolean>. | ||
sps.message.issleep=<player> is sleeping. | ||
sps.message.mustbeday=It must be day to use. | ||
sps.message.mustbenight=It must be night to use. | ||
sps.message.nightorstorm=It must be night or storming to sleep. | ||
sps.message.nocancel=You cannot cancel this sleep or there is nothing to cancel. | ||
sps.message.noperm=You do not have permission to use | ||
sps.message.notop=You are not OP, or auto-update-check is set to false in config.yml | ||
sps.message.reloaded=SinglePlayerSleep has been reloaded. | ||
sps.message.respawnpointmsg=Respawn point set. | ||
sps.message.setdownfall=Clearing downfall | ||
sps.message.setthunder=Clearing thunderstorm | ||
sps.message.settime=Setting time to day | ||
sps.message.sleepcommand=<player> is sleeping <command> | ||
sps.message.sleephelp=subject to server admin approval | ||
sps.message.sleeplimit=You can not do that for <length> seconds | ||
sps.message.touse=Sleep in bed to use. | ||
sps.message.update.current=auto-update-check has been set to | ||
sps.message.update.will=will check for updates! | ||
sps.message.update.wont=will not check for updates! | ||
sps.variable.boolean=Argument must be boolean. Usage | ||
sps.version.curvers=Version is up to date! | ||
sps.version.donate.message=Donate to the plugin maker. | ||
sps.version.donate=Donate | ||
sps.version.download=Download | ||
sps.version.message=There is a new version of <MyPlugin> available! | ||
sps.version.new_vers=Latest version | ||
sps.version.new_version=New version available! | ||
sps.version.notes.message=View the Notes. | ||
sps.version.notes=Notes | ||
sps.version.old_vers= Your version | ||
sps.version.please_update=Please update to the newest version. | ||
sps.version.update.error=Could not process update check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
sps.command.cancelhelp=Zruší spánek pro jednoho hráce. Nemení se na den. | ||
sps.command.spshelp=Zobrazuje nápovedu SinglePlayerSleep. | ||
sps.command.spsreload=Znovu nactete konfiguracní soubor. | ||
sps.command.spsupdate=Zkontrolovat aktualizace. | ||
sps.message.bloodmoon=Během krevního Měsíce nemůžete spát. | ||
sps.message.boolean.true=PRÁVDA | ||
sps.message.boolean.false=NEPRAVDA | ||
sps.message.cancel=ZRUŠIT | ||
sps.message.canceledsleep=<player> zrušil spánek. | ||
sps.message.cancelunrestricted=Zrušení je deaktivováno. | ||
sps.message.clickcancel=Klepnutím zrušíte spánek | ||
sps.message.dayskipblackbed=Aby bylo možné používat DaySkipper, musí být postel černá. | ||
sps.message.dayskipcancel=ZRUŠIT | ||
sps.message.dayskipcanceled=<player> zrušil DaySkip. | ||
sps.message.dayskipclickcancel=Klepnutím zrušíte DaySkip | ||
sps.message.dayskipmsg=<player> chce přeskočit den... | ||
sps.message.dayskipmsgcommand=<player> chce přeskočit den... <command> | ||
sps.message.dayskipsettime=Nastavení času na noc. | ||
sps.message.issleep=<player> spí. | ||
sps.message.mustbeday=To musí být den k použití. | ||
sps.message.mustbenight=Musí to být noc. | ||
sps.message.nightorstorm=spát, musí to být noc nebo boure | ||
sps.message.nocancel=Tento spánek nelze zrušit nebo není co zrušit. | ||
sps.message.noperm=Nemáte oprávnení k použití | ||
sps.message.notop=Nejste OP nebo je v config.yml nastavena automatická aktualizace na false | ||
sps.message.reloaded=SinglePlayerSleep byl znovu načten. | ||
sps.message.respawnpointmsg=Místo oživení nastaveno | ||
sps.message.setdownfall=Zastavuje se déšt | ||
sps.message.setthunder=Vymazání bourky | ||
sps.message.settime=Nastavení casu na den | ||
sps.message.sleepcommand=<player> spí <command> | ||
sps.message.sleephelp=podléhá schválení správcem serveru | ||
sps.message.sleeplimit=Nemužete to udelat tak brzy. | ||
sps.message.touse=Spát v posteli k použití. | ||
sps.message.update.current=automatická aktualizace byla nastavena na | ||
sps.message.update.will=zkontroluje aktualizace! | ||
sps.message.update.wont=nebude kontrolovat aktualizace! | ||
sps.variable.boolean=Argument musí být booleovský. Používání | ||
sps.version.donate=Darujte | ||
sps.version.donate.message=Podpořte tvůrce pluginu. | ||
sps.version.download=Stažení | ||
sps.version.update.error=Nepodařilo se zpracovat kontrolu aktualizace. | ||
sps.version.message=K dispozici je nová verze <MyPlugin>! | ||
sps.version.new_vers=Nejnovější verze | ||
sps.version.new_version=K dispozici nová verze! | ||
sps.version.notes=Poznámky | ||
sps.version.notes.message=Zobrazit poznámky. | ||
sps.version.old_vers= Vaše verze | ||
sps.version.please_update=Aktualizujte prosím na nejnovější verzi. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
sps.command.cancelhelp=Bricht Single Player Sleep . Ist nicht zu Tag ändern. | ||
sps.command.spshelp=Zeigt SinglePlayerSleep Hilfe. | ||
sps.command.spsreload=Reload Config-Datei. | ||
sps.command.spsupdate=Auf Update überprüfen. | ||
sps.command.toggledebug=Schaltet das Debugging vorübergehend um. | ||
sps.message.bloodmoon=Sie können während eines Blutmondes nicht schlafen. | ||
sps.message.boolean.true=WAHR | ||
sps.message.boolean.false=FALSE | ||
sps.message.cancel=STORNIEREN | ||
sps.message.canceledsleep=<player> storniert schlafen. | ||
sps.message.cancelunrestricted=Das Abbrechen des ist deaktiviert. | ||
sps.message.clickcancel=Klicken Sie Schlaf abbrechen | ||
sps.message.dayskipblackbed=Das Bett muss schwarz sein, um DaySkipper nutzen zu können. | ||
sps.message.dayskipcancel=STORNIEREN | ||
sps.message.dayskipcanceled=<player> hat DaySkip abgesagt. | ||
sps.message.dayskipclickcancel=Klicken Sie hier, um DaySkip abzubrechen | ||
sps.message.dayskipmsg=<Spieler> möchte den ganzen Tag schlafen... | ||
sps.message.dayskipmsgcommand=<player> möchte den ganzen Tag schlafen... <command> | ||
sps.message.dayskipsettime=Zeit auf Nacht stellen. | ||
sps.message.debugtrue=Debug auf boolean gesetzt. | ||
sps.message.issleep=<player> schläft. | ||
sps.message.mustbeday=Es muss Tag sein, um zu verwenden. | ||
sps.message.mustbenight=Es muss nachts zu schlafen verwenden. | ||
sps.message.nightorstorm=Es muss Nacht oder Sturm sein, um zu schlafen. | ||
sps.message.nocancel=Sie können diesen Schlaf nicht abbrechen oder es gibt nichts zu annullieren. | ||
sps.message.noperm=Sie haben keine Berechtigung | ||
sps.message.notop=Sie sind nicht OP , oder Auto-Update-Check auf false gesetzt ist in config.yml | ||
sps.message.reloaded=SinglePlayerSleep wurde neu geladen. | ||
sps.message.respawnpointmsg=Wiedereinstiegspunkt gesetzt | ||
sps.message.setdownfall=Clearing regen | ||
sps.message.setthunder=Clearing Gewitter | ||
sps.message.settime=Abbindezeit zu Tag | ||
sps.message.sleepcommand=<player> schläft <command> | ||
sps.message.sleephelp=vorbehaltlich Serveradministrator Genehmigung | ||
sps.message.sleeplimit=Das kann man so schnell nicht mehr machen. | ||
sps.message.touse=Schlafen im Bett zu benutzen. | ||
sps.message.update.current=auto-update-check wurde eingestellt | ||
sps.message.update.will=wird nach Updates gesucht! | ||
sps.message.update.wont=wird nicht nach Updates suchen! | ||
sps.variable.boolean=Argument muss boolean sein . Verwendung | ||
sps.version.curvers=Version ist auf dem neuesten Stand! | ||
sps.version.donate=Spenden | ||
sps.version.donate.message=Spenden Sie dem Plugin-Hersteller. | ||
sps.version.download=Herunterladen | ||
sps.version.update.error=Aktualisierungsprüfung konnte nicht durchgeführt werden. | ||
sps.version.message=Es ist eine neue Version von <MyPlugin> verfügbar! | ||
sps.version.new_vers=Neueste Version | ||
sps.version.new_version=Neue Version verfügbar! | ||
sps.version.notes=Notizen | ||
sps.version.notes.message=Hinweise anzeigen. | ||
sps.version.old_vers= Deine Version | ||
sps.version.please_update=Bitte aktualisieren Sie auf die neueste Version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
sps.command.cancelhelp=Cancels Single Player Sleep. Does not change to day. | ||
sps.command.spshelp=Shows SinglePlayerSleep help. | ||
sps.command.spsreload=Reload config file. | ||
sps.command.spsupdate=Check for update. | ||
sps.command.toggledebug=Temporarily toggles debug. | ||
sps.message.bloodmoon=You can not sleep during a bloodmoon. | ||
sps.message.boolean.true=TRUE | ||
sps.message.boolean.false=FALSE | ||
sps.message.cancel=CANCEL | ||
sps.message.canceledsleep=<player> canceled sleeping. | ||
sps.message.cancelunrestricted=Canceling is disabled. | ||
sps.message.clickcancel=Click to cancel sleep | ||
sps.message.dayskipblackbed=Bed must be black to use DaySkipper. | ||
sps.message.dayskipcancel=CANCEL | ||
sps.message.dayskipcanceled=<player> canceled DaySkip. | ||
sps.message.dayskipclickcancel=Click to cancel DaySkip | ||
sps.message.dayskipmsg=<WHITE><player> <WHITE>wants to <BLUE>sleep <WHITE>the <YELLOW>day <WHITE>away... | ||
sps.message.dayskipmsgcommand=<WHITE><player> wants to sleep the day away...<command> | ||
sps.message.dayskipsettime=Setting time to night. | ||
sps.message.debugtrue=Debug set to <boolean>. | ||
sps.message.issleep=<player> is sleeping. | ||
sps.message.mustbeday=It must be day to use. | ||
sps.message.mustbenight=It must be night to use. | ||
sps.message.nightorstorm=It must be night or storming to sleep. | ||
sps.message.nocancel=You cannot cancel this sleep or there is nothing to cancel. | ||
sps.message.noperm=You do not have permission to use | ||
sps.message.notop=You are not OP, or auto-update-check is set to false in config.yml | ||
sps.message.reloaded=SinglePlayerSleep has been reloaded. | ||
sps.message.respawnpointmsg=Respawn point set. | ||
sps.message.setdownfall=Clearing downfall | ||
sps.message.setthunder=Clearing thunderstorm | ||
sps.message.settime=Setting time to day | ||
sps.message.sleepcommand=<player> is sleeping <command> | ||
sps.message.sleephelp=subject to server admin approval | ||
sps.message.sleeplimit=You can not do that for <length> seconds | ||
sps.message.touse=Sleep in bed to use. | ||
sps.message.update.current=auto-update-check has been set to | ||
sps.message.update.will=will check for updates! | ||
sps.message.update.wont=will not check for updates! | ||
sps.variable.boolean=Argument must be boolean. Usage | ||
sps.version.curvers=Version is up to date! | ||
sps.version.donate.message=Donate to the plugin maker. | ||
sps.version.donate=Donate | ||
sps.version.download=Download | ||
sps.version.message=There is a new version of <MyPlugin> available! | ||
sps.version.new_vers=Latest version | ||
sps.version.new_version=New version available! | ||
sps.version.notes.message=View the Notes. | ||
sps.version.notes=Notes | ||
sps.version.old_vers= Your version | ||
sps.version.please_update=Please update to the newest version. | ||
sps.version.update.error=Could not process update check |
Oops, something went wrong.