Giter Site home page Giter Site logo

relluem94s / relluessentials Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 6.33 MB

Essential Commands and Functions for a better Spigot Experience

License: MIT License

Java 85.74% SQL 12.32% Markdown 1.94%
plugin minecraft bukkit bukkit-plugin enchantments gamemode group-management lobby npc protections shop spigot spigot-plugin

relluessentials's Introduction

Rellu Essentials

a Spigot Plugin compatible with Spigot 1.20.1

First Steps

Find out how to get the plugin and how to use it.

Usage of Plugin

  1. Download or Build the plugin jar
  2. Copy the jar into the plugin Directory
  3. Start and Stop the Server
  4. Set Host, User and Password of your MySQL Server in the config.yml
  5. Start your Server again
  6. Enjoy

Build

  1. git clone https://github.com/Relluem94/RelluEssentials.git
  2. git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
  3. mvn clean install

Deploy Package

  1. Make sure that your GitHub token is in your maven settings.xml (~/.m2/settings.xml)
  2.  mvn --batch-mode deploy

Development

./RelluBash-Script-Collection/dev/MinecraftDevelopmentEnvironment.sh

it will run a specified Dev-Sever (with docker mysql and phpmyadmin) check RelluBash-Script-Collection

Functionality

What does the plugin include?

Commands

  • Admin gives Clearing Chat, Fake AFK, Teleport to the highest Block and Custom NPCs (/admin)
  • Away from Keyboard (/afk)
  • Teleports to the latest Checkpoint (on spawn, teleport, world, warp and home) (/back)
  • Opens Bag Pack Menu (/bags)
  • Broadcasts Message to online Players (/broadcast)
  • Gift Cookies (/cookie)
  • Change time to Day (/day)
  • Open the Enderchest (/enderchest)
  • Linux Like (/exit)
  • Flymode (/fly)
  • Gamemode (/0 /1 /2 /3)
  • List all Gamerules for the current World (/gamerules)
  • Play as god (/god)
  • Gives a Player Head (/head)
  • Heal yourself if you low on health (/heal)
  • Teleport to your Bed spawn location or set list tp to homes that get saved in players.yml (/home)
  • Open the Inventory (/inv)
  • Message other Players (/msg)
  • Get More Stuff (/more)
  • Nick Player (/nick)
  • Change time to Night (/night)
  • Set Permission Group (/setGroup)
  • Poke a Player if he does not respond (/poke)
  • Portable Craftingbench (/craft)
  • Print Message in Chat in Player / Commandblock Name (/print)
  • Protect your Chests, Doors and other Blocks with (/protect)
  • Shows you your Money in your Purse (/purse)
  • Change Weather to Rain (/rain)
  • Save, Reload your config or more (/rellu)
  • Rename item in your Hand (/rename)
  • Repair your favorite Tools (/repair)
  • Does a rollback of a player (/rollback) (WIP)
  • Edit or Copy your Signs (/sign)
  • Teleport to Worldspawn (/spawn)
  • Change your Speed with (/speed)
  • Change Weather to Storm (/storm)
  • Linux Like (/sudo)
  • Kill yourself (/suicide)
  • Change Weather to Sun (/sun)
  • Teleport to other Players (/tp)
  • Teleport to or a Player (/teleport)
  • Shows all Team Members (mod and higher) (/team)
  • Send a Title to a Player (/title)
  • Vanish you from other Players (/vanish)
  • Warps you to a defined Point (/warp)
  • Show where a Player is (/where)
  • Show Worlds or Teleport to the spawn (/world)

NPCs

  • Custom NPC via Database or via API
  • NPCs in Game via Database
    • Adventurer
    • Baker
    • Butcher
    • Farmer
    • Fisher
    • Florist
    • Lumberjack
    • Miner
    • Musican
    • Shepherd
    • Smith
  • NPCs in Game via Code
    • Bag Salesman
    • Banker
    • Beekeeper
    • Enchanter (WIP)

Bags

  • Custom Bags via Database
    • Mining Bag
    • Farming Bag
    • Monster Bag
    • Shepherd Bag
    • Lumberjack Bag

Functional Block Protections

  • Add additional Blocks via Database or via API

Enchantments

  • Replenishment (Auto Replant Seeds)
  • Autosmelt (Smelts all Blocks)
  • Telekinesis (Teleports item into Inventory)
  • Delicate (Prevents breaking immature Crops and Stems)
  • Thunderstrike (Strikes Entity with a Lightning Bolt)

Skills

  • Skills will be reworked. Some as Enchant some as Skill. (WIP)
    • TreeFeller (Fell the whole Tree) [he is dead jim]
    • Repair (Repair Tools and Armor) [the lost son]
    • Salvage (Salvage Tools and Armor and get back resources and enchantments) [needs some love]

Events

  • Better Chat Format (Player >> Message)
    • Color Codes for VIP and higher
    • Chat Channels Vip, Mod, Admin | #v, #m, #a
  • Better Player Join Message (Shows Custom Join Message)
    • Sets Custom Tab Header and Footer (defined in config.yml)
    • Sets Flymode to enabled
      • if VIP or higer
      • if in air
      • if flymode enabled in players.yml
  • Better Player Quit Message (Shows Custom Leave Message)
  • Better Block Drop (Glass etc.)
  • Better Mobs (Disable Phantom)
  • Better (Call) Soil (disables trampling, sneak to disable)
  • Better Safety (Auto disable some commands like /pl)
  • Player Move is disabled while afk
  • Player Head Info
  • Cloudsailor (Gliding Feather and Boots)
  • Tool Crafting with Rarity, Higher Tier is unbreakable
  • No Death Message
    • Save Death Location as Home
    • Show Location in Chat (private)

Documentation

How it is working? What's under the hood?

Helpers

API

  • BagAPI
  • BankAPI
  • NPCAPI
  • PlayerAPI
  • ProtectionAPI
  • WarpAPI

Database Model

Database Model

Java CI with Maven Dependency review Dependency review

relluessentials's People

Contributors

relluem94 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

relluessentials's Issues

Group Management

Add a list that plugins that uses RE can add Groups to it.
We may have to change the permission id system a bit so we have 3-5 levels.
you can create a group and specify what level it uses.

fly mode

no message if you turn off flight for other players.

Check blockfaces for items like torches.

Block b = e.getBlock(); //TODO Check blockfaces for items like torches.
if (p.getInventory().getItemInMainHand().getEnchantments().containsKey(Enchantment.getByKey(new NamespacedKey(Strings.PLUGIN_NAME.toLowerCase(), "autosmelt")))) {
if (p.getInventory().getItemInMainHand().getEnchantments().containsKey(Enchantment.getByKey(new NamespacedKey(Strings.PLUGIN_NAME.toLowerCase(), "telekenesis")))) {
if (p.getInventory().firstEmpty() >= 0) {


This issue was generated by todo based on a TODO comment in a046fdc when #10 was merged. cc @Relluem94s.

Cleanup repos

Remove these files

.classpath
.project
.settings/org.eclipse.jdt.core.prefs
.settings/org.eclipse.m2e.core.prefs
nb-configuration.xml

Add Database Connection

Usage for Player Stats, Block History, Skills, Homes etc.

Adding as an option yml only for normal mode, db required for full usage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.