Mineuniverse
Plugins
KeyboardAPI

KeyboardAPI

PLUGIN
KeyboardAPI
by _ForgeUser11809233
Download Claim this project
Add a badge to your pageLink to KeyboardAPI from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the plugin page on MineUniverse.

746 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Developer Tools Mechanics
Advertisement Remove ads with Premium →

KeyboardAPI

KeyboardAPI is a tool for developers to use to create and utilize keyboards in-game through inventory GUIs.

The keyboard is shown below. Also, the letters are changed based on whether or not caps lock is on. I realize that this is not very efficient, since you cannot see what letter is what without hovering over it.

Server Owners

This plugin does nothing on it's own. It is simply a tool for developers to utilize. As far as using the keyboard, simply click on a stained glass to use that letter, (or add a space, as in the space bar). Simply hover over the book to see what you've typed. The utilities include a caps lock button, backspace, clear text, confirm, and cancel.

Developers

I've made this as simple to use as possible: to open a new keyboard for a player, simply replace title with the title you want the keyboard inventory to have, and capsLockOn whether or not caps lock will start on.

      player.openInventory(Keyboard.getNewKeyboard(title, capsLockOn));

Once you have done that, listen to 'KeyboardClickEvent'. This is called just like InventoryClickEvents, but with more options, like

      event.getKeyboardAction();

which will return what action was used. This includes ADD_LETTER, ADD_SPACE, BACKSPACE, CANCEL, CLEAR_TEXT, CONFIRM, and TOGGLE_CAPS_LOCK

Please keep in mind, KeyboardAPI does everything as far as entering text, toggling caps lock, backspacing, and clearing the text.

If you have a question, ask in the comments below. If you have a request, submit a ticket. Found a bug? Submit a ticket.

KeyboardAPI
MC CB 1.7.9-R0.2
Release 2014-12-17 Get

More from _ForgeUser11809233

Advertisement Remove ads with Premium →

You Might Also Like