FloodgateCP icon

FloodgateCP -----

Adds Bedrock Edition forms from Floodgate to CommandPanels.



FloodgateCP is an indev Spigot plugin that adds support for Bedrock Edition forms from Floodgate/ GeyserMC to CommandPanels.

Get support on Discord or Report a bug
Documentation is available here.

[​IMG]
An example of a Bedrock Edition panel.

Default config.yml file:

Code (YAML):
# Use to change phrasing or language of messages that will be sent by the plugin. Support for color codes with §.
lang
:
  panel-not-available
: '§cThis panel is not supported on Bedrock Edition.'
  no-permission
: '§cYou are not allowed to do this.'
  prefix
: '§2 [§bFGCP§2 ] §r'
  config-reloaded
: 'Reloaded the config.'

# List of panels that show up on bedrock edition. You can use any PlaceholderAPI placeholders here, or use %cp-player-name% for the player's username.
panels
:
  # Panel title. This is where you put the name of the commandpanel that this will override on bedrock. This will not be shown to players.
  example
:
    # Panel type. Currently, the only type available is simple.
    type
: simple
    # User-visible title. Support for color codes with §.
    title
: Example Panel
    # User-visible subtitle/body. Can be made multiline by adding '%n'. Support for color codes with §.
    content
: This panel shows up on bedrock edition.
    # A list of buttons that will appear on the panel.
    buttons
:
      # Button title. It is recommended to use integers with increasing value starting at 1, but you can use anything as long as no two button titles are the same per panel.
      # The buttons will be arranged on the panel by the order they are listed here, not by the number as their title.
      '1'
:
        # The visible text on a button. Can be made multiline by adding '%n', but it is recommended to only use two lines at most. Support for color codes with §.
        content
: 'Click me to say hi!'
        # A list of commands that will be executed in this order when the button is pressed. Commands with no prefix will be executed as the player.
        # Begin a command with 'console= ' for it to be executed as the console, or 'msg= ' for it to be a message sent to the player, not a command. 'msg= ' supports color codes with §.
        commands
:
         - 'say hi'
        # Icon that will be shown to the left of a button. Optional.
        icon
:
          # Type of icon. Use PATH for a texture in the Bedrock Edition game files, and URL for a png online.
          type
: PATH
          # Path to the texture in the game files, or a url to a png, depending on the type above.
          texture
: 'textures/items/sign.png'
      '2'
:
        content
: '/kill yourself'
        commands
:
         - 'console= kill %cp-player-name%'
          - 'msg= §bYou killed yourself.'
        icon
:
          type
: URL
          texture
: 'https://media-minecraftforum.cursecdn.com/attachments/170/896/635865881340253467.png'
Differences on Bedrock Edition we cannot change:
  • When a button is pressed, the panel will always close. You can get around this by reopening the panel in the commands.
  • The server can't close bedrock panels, only the player can.
  • You can't move the items around, because they aren't items.
  • While a panel is opened, the text/content on it cannot be dynamically changed.
Setup for BungeeCord or Velocity:

On ALL backend servers:
  • Install Floodgate
  • Use the same key.pem file as the proxy (same between backend servers too!)
  • Set bungeecord to true in your spigot.yml
On on the proxy:
  • Install Floodgate
  • Install Geyser
  • Enable ip_forward in your BungeeCord config.yml if using BungeeCord
  • In the Floodgate config: set send-floodgate-data to true
On all servers with CommandPanels:
  • Install FloodgateCP

Planned features:
  • onopen and onclose support for each panel.
  • Maybe other types of bedrock panels, like FORM or MODAL.
  • Possibly an ingame editor.
  • Possibly an automatic panel converter.
Resource Information
Author:
----------
Total Downloads: 257,956
First Release: Oct 17, 2021
Last Update: Feb 14, 2022
Category: ---------------
All-Time Rating:
4 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings