Cuberite Forum
Making plugins (no hates) - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Making plugins (no hates) (/thread-2315.html)



Making plugins (no hates) - MCFreak999 - 01-14-2016

I know you are blaring out me "HAHAHA you don't read! U r a newbie!", your right. I am new. I just need some help with making a plugin for my friend (dannyboy06)'s server. I know only that java is basic, and it uses stuff like {} [] (), and minimal calculations. I just need some help when developing this plugin. I am trying to make a plugin which allowes you to do:
/tag set [tag] with color-codes

and then when you typed something in chat this would show:

[tag] CKcraft900: Hello

I dont want:

<[tag] CKcraft900> Hello

My name in MC is CKcraft900.

My server is SamuelCraft.mygs.co.
Not on 24/7, more like every once in a while.
I know I use a noob website
(server.pro)
But i don't really care


RE: Making plugins (no hates) - LogicParrot - 01-14-2016

On the contrary, we are friendly to newbies. Welcome to the forum.

Firstly, Cuberite Plugins are developed in Lua, not Java.
Secondly, your post is unclear. What do you need?
  • If you want to learn how to develop Lua plugins see the API Docs.
  • If you want someone to write this plugin for you, this should have been posted in the Plugin Requests section.
  • If you are writing the plugin yourself and are having a specific coding problem, please describe it.



RE: Making plugins (no hates) - NiLSPACE - 01-14-2016

Hello and welcome to the forum.

You could use my Chatter plugin and hook into it with your own plugin.

For example, if I set the prefix (poorly named, should be Template) to
{TAG} {PLAYERNAME}: {MESSAGE}

and you tell the plugin to replace {TAG} with whatever you want then it would show up like this:

MyCustomTag NiLSPACE: This is a test