Coder Social home page Coder Social logo

tomudding / player-visibility Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 119 KB

Let other players vanish with just one simple click!

License: GNU Affero General Public License v3.0

Java 100.00%
bukkit minecraft player-visibility players-vanish plugin spigot sponge

player-visibility's People

Contributors

tomudding avatar

Watchers

 avatar  avatar

player-visibility's Issues

Creative

I will open this creative issue again. Because doesn't InventoryCreativeEvent cancel it? At least from my testing InventoryCreativeEvent does cancel middle click, but just sometimes doesn't display it right.

Console error

My console is sometimes spamming this error: http://pastebin.com/raw/sDLyfvCW
I'm using 2.5 plugin version, and don't know what is causing this.

Also you can duplicate slime item when you are in creative mode and middle click on them.

No Config Or File?

I downloaded this and restarted my server.
there is no new plugin folder, no config file, please help

Suggestion regarding visibility status on-join

Issues:

  • When you change the "switch" message in the config, it will not update in-game. (fixed, see v2.4)
  • Prefix doesn't appear in the "already on/off" messages. (fixed, see v2.4)
  • When I have the on & off item set to an ender pearl or eye of ender then I click the item in-game, it won't deny me from using the item. (fixed, see v2.4)

Suggestions:

  • Multiple lines of lore for the on & off item. (added, see v2.4)
  • Option to disable the visibility status on-join. (need more information)
  • Just remove the "switch" message, don't like it. (works as intended)

Code Readability

A quick glance over the Commands class reveals an issue. The readability of the code.

To be more specific: nested if-statements (if statements inside of an if statement). It's extremely messy, but we've all nested if statements in the past.

I recently came across this video by codecourse. He gives great examples in this vide. While the language he shows this in is PHP, it also applies to Java and other programming languages.

I'd recommend preventing nested if-statements as much as possible.

1.8 Support

Please add support for 1.8, or make a separate version of Player Visbility that supports 1.8.

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.