Links
Tags
Creators
Details
1.0.1
Compatibility
Changes
-
Significant refinement and expansion of the plugin functionality (all of that you can setting in
config.yml)- Enabling/disabling skipping night or thunderstorm
- New enabling/disabling vote command system
- Setting of rain clearing after skipping night
- Now you can exclude players from need voting player's counting, who:
- has adventure/creative/spectator/vanish mode
- is/is not located in the specified worlds (parameter
feature.words-list)
- Now you can adjust the animation of skipping night/thunderstorm in even more detail or disable it altogether
- Now plugin has support phantom statistic system and can reset that when night was skipped (parameter
feature.reset-phantom-statistic, check out/gamerule doInsomniaon 1.15+)
-
Reformulation, new settings and fetures in
config.ymlNew config.ymlfeature: skip: # if you have disabled both functions, then we recommend that you consider removing this plugin. night: true thunderstorm: true command: # those commands enabled: now-vote: true # /ns vote now | /nightskipper vote now always-vote: true # /ns vote always | /nightskipper vote always clear-rain: true # clear rain when night will skipped exclude: # exclude players out of counting with that modes: adventure: true creative: true spectator: true vanished: true words-list: mode: blacklist # blacklist/whitelist words: [minecraft:the_nether, minecraft:the_end] animation-frame: enabled: true # skipping night/thunderstorm animation enabled night-amplitude: 50 # time increasing into frame when night thunderstorm-amplitude: 250 # time increasing into frame when thunder frequency: 1 # animation frequency in server ticks reset-phantom-statistic: true # Treats everyone online as if they have slept in the last 3 days after the night is skipped (check out /gamerule doInsomnia on 1.15+) condition: # if condition is true, then night or thunderstorm will skipped (also if one player is sleeping at least) op: '>=' # one of operators `>=`, `<=`, `==`, `!=`, `>`, `<` lvalue: voted # variable `voted` online players who voted rvalue: 50% # 50% of online player count text: # message texts night: night thunderstorm: thunderstorm and: '&' in-progress: '&2Skipping %target% in progress...' already-in-progress: '&cSkipping %target% is already in progress!' finished: '&2&+%target% skipped!' cannot-skip: '&cNow is not night or thunderstorm!' goodnight: '&dGood night!' always-vote-enabled: '&2%sender%, now your vote will be counted automatically!' always-vote-disabled: '&c%sender%, now in order for your voice to be taken into account, you need to use the command `%prefix%%label% vote now` or lie down on the bed' vote-taken: '&2%sender%, your vote is taken into account!' already-voted: '&c%sender%, your vote has already been counted!' cannot-vote: '&c%sender%, you cannot vote now!' voted-now: Voted for skipping %voted% out of %players% voted-layed-now: Voted for skipping %voted% out of %players% (%sleeping% are sleeping) config-reloaded: '&2Config reloaded' config-reseted: '&2Config reseted' feature-disabled: '&cThis feature is disabled or unavailable!' invalid-format: '&cInvalid command format!' usage: |- &n&lCommand usage:&r %prefix%%label% skip %prefix%%label% config reset %prefix%%label% config reload %prefix%%label% vote now %prefix%%label% vote alwaysOld
config.yml# ----MODE---- # easy - allowed `/ns vote now` and `/ns vote always` system (also sleep system) # medium - allowed `/ns vote now` system (also sleep system) # hard - allowed only sleep system mode: easy players-condition: # if condition is true, then night or thunderstorm will skipped (also if one player is sleeping at least) op: '>=' # one of operators `>=`, `<=`, `==`, `!=`, `>`, `<` lvalue: voted # variable `voted` online players who voted rvalue: 50% # 50% of online player count value: skip-step: 50 # minecraft time of step when night is skipping thunderstorm-skip-step: 250 # minecraft time of step when thunderstorm is skipping text: # message texts config-reloaded: '&2Config reloaded' config-reseted: '&2Config reseted' night: night thunderstorm: thunderstorm and: '&' in-progress: '&2Skipping %target% in progress...' already-in-progress: '&cSkipping %target% is already in progress!' finished: '&2&+%target% skipped!' cannot-skip: '&cNow is not night or thunderstorm!' invalid-format: '&cInvalid command format!' always-vote-enabled: '&2Now your vote will be counted automatically!' always-vote-disabled: '&cNow in order for your voice to be taken into account, you need to use the command `%prefix%%label% vote now` or lie down on the bed' voted-now: Voted for skipping %voted% out of %players% voted-layed-now: Voted for skipping %voted% out of %players% (%sleeping% are sleeping)' goodnight: '&dGood night!' vote-taken: '&2%sender%, your vote is taken into account!' cannot-cancel-vote: '&c%sender%, you cannot cancel vote!' usage: |- &n&lCommand usage:&r %prefix%%label% skip %prefix%%label% config reset %prefix%%label% config reload %prefix%%label% vote now %prefix%%label% vote always -
Permissions bug fix
-
Plugin shutdown crash fix
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Katsg5uM:bdiM5BGV"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Katsg5uM:bdiM5BGV"
}

