Simple Nukkit Forms

Simple Nukkit Forms 1.1.0

Compatible API Versions
1.0.14
Sourcecode
https://github.com/Fed-Fox/Plugin-SimpleFormNK
I'm not English, if you find a mistake, write to me!
UK:
The plugin allows you to create your own forms and display them to players.

Command: /sformopen <form id> <player>

To create a form you need to write the following code in the file:


YAML:
test:
  type: 'Simple'
  name: 'Test Form'
  content: 'Test Form. Click to Buttons!'
  buttons:
    - name: 'Button 1'
      cmd: '@log gamemode c %p'
    - name: 'Button 2'
      cmds: 'tp %p %p / say Hi, I'm %p' 
    - name: 'Button 3'
      message: '%p, this is a form button!'
Result:

1736370916786.png


RU:

Этот плагин служит для создания всплывающих окон и отображения их игроку.

Команда: /sformopen <id окна> <игрок>

Для создания вашего окна надо добавить следующий код в файл forms.yml


YAML:
test:
  type: 'Simple'
  name: 'Test Form'
  content: 'Test Form. Click to Buttons!'
  buttons:
    - name: 'Button 1'
      cmd: '@log gamemode c %p'
    - name: 'Button 2'
      cmds: 'tp %p %p  / say Hi, I'm %p'
    - name: 'Button 3'
      message: '%p, this is a form button!'
Результат:

1736370916786.png
  • Like
Reactions: Slavko
Author
FedFox
Downloads
114
Views
420
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Simple Nukkit Forms v1.1.0

    EN Now using cmds instead of cmd, you can add multiple commands using the separator " /"...

Latest reviews

Great plugin! Please make the button able to perform several actions at the same time!
Top