All Projects β†’ dscalzi β†’ SkyChanger

dscalzi / SkyChanger

Licence: MIT license
Change the color of your personal sky in Minecraft β›…οΈβš‘οΈπŸŒ„

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to SkyChanger

Titlemanager
Adds hovering titles, actionbar titles, tabmenu titles and a scoreboard sidebar to your Minecraft 1.8 - 1.16 server.
Stars: ✭ 133 (+329.03%)
Mutual labels:  bukkit, spigot
Worldedit
πŸ—ΊοΈ Minecraft map editor and mod
Stars: ✭ 2,288 (+7280.65%)
Mutual labels:  bukkit, spigot
Craftbook
πŸ”§ Machines, ICs, PLCs, and more!
Stars: ✭ 226 (+629.03%)
Mutual labels:  bukkit, spigot
Commandbook
General and administrative commands
Stars: ✭ 139 (+348.39%)
Mutual labels:  bukkit, spigot
Advanced Achievements
πŸŽ† Popular plugin that adds unique and challenging achievements to Minecraft servers.
Stars: ✭ 151 (+387.1%)
Mutual labels:  bukkit, spigot
Helper
A collection of utilities and extended APIs to support the rapid and easy development of Bukkit plugins.
Stars: ✭ 188 (+506.45%)
Mutual labels:  bukkit, spigot
Item Nbt Api
Add custom NBT tags to Items/Tiles/Entities without NMS!
Stars: ✭ 163 (+425.81%)
Mutual labels:  bukkit, spigot
Catserver
Spiritual inheritance of mcpc+/thermos/Cauldron, full support spigot/sponge/forge/bukkit/paper API
Stars: ✭ 127 (+309.68%)
Mutual labels:  bukkit, spigot
Chestshop 3
ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
Stars: ✭ 158 (+409.68%)
Mutual labels:  bukkit, spigot
Mockbukkit
MockBukkit is a mocking framework for bukkit to allow the easy unit testing of Bukkit plugins.
Stars: ✭ 186 (+500%)
Mutual labels:  bukkit, spigot
Holographicdisplays
Create modern looking holograms in Minecraft.
Stars: ✭ 175 (+464.52%)
Mutual labels:  bukkit, spigot
Mobarena
MobArena plugin for Minecraft
Stars: ✭ 147 (+374.19%)
Mutual labels:  bukkit, spigot
Cardboard
The Bukkit/Spigot/Paper API implementation for Fabric
Stars: ✭ 220 (+609.68%)
Mutual labels:  bukkit, spigot
Viabackwards
Allows the connection of older clients to newer server versions for Minecraft servers.
Stars: ✭ 135 (+335.48%)
Mutual labels:  bukkit, spigot
Serverlistplus
A flexible Minecraft plugin to customize the appearance of your server in the server list
Stars: ✭ 127 (+309.68%)
Mutual labels:  bukkit, spigot
Fastasyncworldedit
Blazingly fast world manipulation for artists, builders and everyone else: https://www.spigotmc.org/resources/13932/
Stars: ✭ 188 (+506.45%)
Mutual labels:  bukkit, spigot
Slime World Manager
A Spigot plugin that implements the Slime Region Format.
Stars: ✭ 118 (+280.65%)
Mutual labels:  bukkit, spigot
Betonquest
An advanced and powerful quest scripting plugin for Minecraft. Features built-in RPG style conversations and integration for over 25 other plugins.
Stars: ✭ 121 (+290.32%)
Mutual labels:  bukkit, spigot
Anvilgui
Easily use anvil guis to get a user's input
Stars: ✭ 194 (+525.81%)
Mutual labels:  bukkit, spigot
Geyser
A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
Stars: ✭ 2,851 (+9096.77%)
Mutual labels:  bukkit, spigot

# Header

Builds

SkyChanger is a light-weight plugin for Spigot and Sponge. The main function of this plugin is to change the color of the sky for yourself, a specific player, a specific world, or everyone. This plugin functions by sending packets with a specified value to the target player(s).

Like the project? Leave a ⭐ on the repository!


Feature List

  • Allow players to change the color of their personal sky.
  • Change the sky color for specific players.
  • Change the sky color for a specific world.
  • Change the sky color for everyone online.
  • Freeze/Unfreeze yourself, others, a world, or everyone online.
  • Configurable limits to the range of packets that can be sent.
  • Usage messages tailored to specific users based on permission level.
  • Multilanguage support.
  • Metrics tracking by bStats.

If you would like to contribute your language or correct an incorrect translation, follow this quick guide.

You can find more extensive details on the wiki.


Building and Contributing

If you would like to contribute to SkyChanger, feel free to submit a pull request. The project does not use a specific code style, however please keep to the conventions used throughout the code.

You can build SkyChanger using Gradle. Clone the repository and run the following command.

$ gradlew build

Developer API

If you want to hook SkyChanger into your own plugin or simply want to extend functionality, you may use the provided API. If you feel the API is missing anything, or should be changed, please let us know.

GitHub Packages

SkyChanger 5.x+ will be hosted on GitHub packages. See https://github.com/dscalzi/SkyChanger/packages SkyChanger 4.x and earlier were hosted on jcenter, which shutdown.

Javadocs are not hosted, however they are provided on the maven repository.

Gradle

See https://docs.github.com/articles/configuring-gradle-for-use-with-github-package-registry/ to learn more.

dependencies {
    // For Bukkit
    implementation 'com.dscalzi:skychanger-bukkit:VERSION'
    // For Sponge
    implementation 'com.dscalzi:skychanger-sponge:VERSION'
}

Maven

See https://docs.github.com/articles/configuring-apache-maven-for-use-with-github-package-registry/ to learn more.

<!-- For Bukkit -->
<dependency>
  <groupId>com.dscalzi</groupId>
  <artifactId>skychanger-bukkit</artifactId>
  <version>VERSION</version>
</dependency>

<!-- For Sponge -->
<dependency>
  <groupId>com.dscalzi</groupId>
  <artifactId>skychanger-sponge</artifactId>
  <version>VERSION</version>
</dependency>

Example Usage

/**
* Example usage of the API. The following implementation
* would not be practical, it exists only to demonstrate
* the API capabilities.
* 
* @param player The player to experiment on.
*/
public void skychangerTests(Player player) {
    // Get a reference to the API.
    final SkyAPI api = SkyChanger.getAPI();

    // Change the sky and save the result.
    // Equivalent to /SkyChanger 3
    boolean result1 = api.changeSky(SkyChanger.wrapPlayer(player), SkyPacket.RAIN_LEVEL_CHANGE, 3F);

    if(result1) {
        player.sendMessage("Why did the sky turn red?");
    }

    // Equivalent to /SkyChanger 4 8
    boolean result2 = api.changeSky(SkyChanger.wrapPlayer(player), SkyPacket.RAIN_LEVEL_CHANGE, 4F)
                 && api.changeSky(SkyChanger.wrapPlayer(player), SkyPacket.THUNDER_LEVEL_CHANGE, 8F);

    if(result2) {
        player.sendMessage("Why did the sky turn light blue?");
    }

    // Freeze the player.
    boolean result3 = api.freeze(SkyChanger.wrapPlayer(player));

    if(result3) {
        player.sendMessage("Where did the land go?");

        // Unfreeze the player.
        result3 = api.unfreeze(SkyChanger.wrapPlayer(player));

        if(result3) {
            player.sendMessage("You've been unfrozen! Press (F3 + A) to reload chunks.");
        }
    }
}

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].