Code Monkey home page Code Monkey logo

udsplugin's Introduction

UDSPlugin

This is the Bukkit plugin that is used primarily on the UDSMinecraft server.

Suggestions

If you have any ideas or suggestions please just post an issue on GitHub and I'll get on it.

Contributions

These can come in two forms, you could suggest code improvements or new ways of implementing methods, both are welcome. Please just post comments wherever they make sense on GitHub.

If you are interested in contributing code to the project you may send pull requests but we ask that you follow our coding guidelines.

Coding Guidelines

For the most part we follow the Code Conventions for the Java Programming Language which you can find here: http://www.oracle.com/technetwork/java/codeconv-138413.html. Any coding practices that do not directly follow these conventions will be apparent from viewing the UDSPlugin source code. Pull requests should always address an issue, if an issue does not yet exist then we request that you create one. We also ask that your commits make reference to the issues either with Fixes #XXX for bugs or Closes #XXX for all other issues.

udsplugin's People

Contributors

undeadscythes avatar drub92 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

udsplugin's Issues

Change how command help is called

Currently command help is displayed if the player uses /command help. Change this so that command specific help is displayed as a last resort from within the command executor or as a sub command with page numbers (if applicable) so that commands that accept strings as arguments are not incorrectly redirected.

Include sendHelp(int page) and sendHelp() in wrapper and call from command executors.

Addresses #4.
Will resolve #3.

Check all commands

All the commands need to be checked to make sure they work as intended.

Safe warp check fails

Some checks - tested with /warp - should fail when teleporting players. Check there is enough space for the player (2 blocks of air) and there is a block to stand on.

Sit command no longer works

Items embedded in blocks will now pop out automatically. This issue cannot be resolved without changing the means by which players 'sit' in blocks.

Commands need to catch bad arguments

This problem affects the City, Clan, Home, Money, Region, Shop, VIP and XP commands.

When multiple subcommands are available, a subcommand is matched but fails a test on the same line. The code flow then results in the assumption that no subcommands were matched.

Double error on kit

Using the kit command when you can't afford it shows the 'kit does not exist message' also.

Censor cancels chat

When the censor is triggered the chat is cancelled instead of being censored.

Classes call SaveablePlayer.toString() implicitly

As a quick fix for some classes incorrectly referencing SaveablePlayer explicitly without using either getName() or getDisplayName(), toString() was overridden to return the correct name. These situations need to be resolved.

Implicit use of .toString() also used on clans and maybe warps.

Final numArgsHelp check can force help page

If a command fails a check not related to the argument count then this final check will force a help page.

Affects the Bounty, Home, Nick, Pet, SetWarp, Shop and TP commands.

Replaced by #24.

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.