Giter VIP home page Giter VIP logo

pixelmonshiny's Introduction

PixelmonShiny

Welcome to PixelmonShiny! This plugin is my first attempt to make a project serving both PixelmonGenerations and Reforged with as much common code in between as possible.

What does it do?

PixelmonShiny allows you to give a (configurable) item to players, which can then be used to turn one pokemon in their party into it's shiny or non-shiny form. The selection is made over a GUI and the players can simply click the pokemon they want to modify.

Command/Permission

This plugin consists of only one command which is as follows:

  • /giveshinyitem <player> [amount] Permission: pixelmonshiny.give. Gives a ShinyItem based on the configuration to the specified player (or yourself if you leave it out). Amount is optional and defaults to 1.

When you obtain a ShinyItem, all you have to do is right click while you are holding it in your main hand and it will bring up the PartyGUI for you to select from!

Configuration

Upon first starting your server with this plugin, it will automatically generate a default configuration for you already, so you could use it straight out of the box! The default configuration will also contain plenty of comments to guide you through it, but just for coverage, I will list them here as well:

  • guiTitle: This represents the title in the inventory window that gets openend when the player right clicks the ShinyItem. It supports minecraft colour codes (like &c for example)

  • itemType: What kind of item you want the ShinyItem to be. This gets done over the <modid>:<itemid> syntax and can therefore also use pixelmon items! WARNING: Changing this will result in ShinyItems, which have been given out prior to changing this, breaking and no longer functioning as ShinyItems!

  • itemName: The display name of the ShinyItem in game. Also supports minecraft colour codes. WARNING: Changing this will result in ShinyItems, which have been given out prior to changing this, breaking and no longer functioning as ShinyItems!

  • itemLore: This represents the purple lore text that any item can have. This takes a list of texts which represent one lore line each. This also supports minecraft colour codes. WARNING: Changing this will result in ShinyItems, which have been given out prior to changing this, breaking and no longer functioning as ShinyItems!

That's about it for this plugin already, it's a small project looking at it, but I tried to learn more about the building process, including signing and maybe even automatic deployment (but this is far far away for now).

TO-DO(?)

Currently, I can't think of addtional things to add, but if you feel like something is wrong or missing, please open an issue and I'll see what I can do!

Thank you for looking at my plugin and reading until the end of this readme. :)

pixelmonshiny's People

Contributors

polymeta avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pixelmonshiny's Issues

[BUG] Nothing in configuration file

When we launch the server with your mod,

a config file "pixelmonshiny" is create yes, but he's empty.
So in game, nothing work

Do you have something that can help me please ?

[BUG] Menu of PixelmonShiny

Hey it's me again.
I finaly installed the mod and its working!

But i just discovered something : i often see pokemons of others players in the menu.
When i tried to use the item on them it doesnt work (they dont become shiny) but the item is used and disappear.

Is that normal ? Did i miss something ?

On this screen its the team of my friend that i see in my PixelmonShiny menu as you can see
image

[REQUEST] Configurable option for returning a token when removing a shiny

Is your feature request related to a problem? Please describe.
Picture this, you found a Shiny Diglett, but you don't want the Diglett; now, you could sell it to someone else in exchange for the shiny you want, OR you could be allowed to remove the shininess from the Diglett and instead put it on your Arcanine.

Describe the solution you'd like
The addition of a configurable option to enable (or disable) the ability to turn a shiny Pokémon into a normal Pokémon, and obtain the Shiny Item to use it on another, or to sell to other players.

[REQUEST] Configurable option to disable/enable usage on Legendaries/Ultra Beasts

Is your feature request related to a problem? Please describe.
This goes hand in hand with my previous feature request. You have that shiny Diglett, but you remove the shininess and obtain the token, as a server owner, you wouldn't really want people to be able to trade a Shiny Diglett and a normal Celebi for a Shiny Celebi and a normal Diglett; the economy could get ruined fairly easily with this.

Describe the solution you'd like
So, the ability of Server Owners to toggle whether they can be used on Legendaries or Ultra Beasts could mitigate it if such a thing were to arise in the future; possible even adding a tag to the item to signify "This was removed from a Pokémon, and is unusable on Legendaries/Ultra Beasts", potentially to differentiate a normal Shiny Item that can be used on Legendaries/Ultra Beasts, and the degraded? Shiny Item that can only be used on regular Pokémon.

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.