Giter Site home page Giter Site logo

nametagedit's Introduction

Update 17/02/2016: The liscense for these original contributions has been changed to GPLv3. Any use of this code before the change of this liscense is subject to DMCA takedown notices if the project(s) that incorporate my code refuse to acknowledge the liscense change. The original BukkitDev submission stated "All Right Reserved".

This plugin has since been moved to a new repository here: https://github.com/sgtcaze/NametagEdit, this is outdated.

This is a Bukkit server plugin for craftbukkit 1.5+

Add prefixes and suffixes to player's nametags above their heads, with formatting codes! This plugin dynamically creates teams with the scoreboard features in 1.5 to assign unique prefixes and suffixes for specific players and groups.

Anyone interested in using this plugin's classes, features, or just modifying the plugin for yourself may do so as long as I am given credit clearly.

nametagedit's People

Contributors

jarcode-foss avatar justonemoreblock avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

nametagedit's Issues

String Concat Performance Hit

Using a regular concat with Strings such as "this.string" + 5

Will convert it to a StringBuilder object. use append then it will translate back into a string.

So doing this in loops will constantly create new StringBuilder objects.

The best way to create a string in a loop is through the original StringBuilder object

https://github.com/wacossusca34/nametagedit/blob/master/src/ca/wacos/nametagedit/NametagUtils.java#L51 Is going to have a performance hit even if its minor but every little bit counts. could count as an up to my guess of 5 times more calculations than a regular stringbuilder if not more.

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.