jarcode-foss / nametagedit Goto Github PK
View Code? Open in Web Editor NEWA Bukkit 1.5+ server plugin for modifying player nametags
A Bukkit 1.5+ server plugin for modifying player nametags
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.