📚
GSLibrary
  • 👋Welcome
  • 👾Our plugins
  • Language API
    • 🇬🇧Languages
    • 🇰🇳For developers
  • Color API
    • 🎨Colors in configurations
  • GUI API
    • 🆕Creating GUI
    • 📕GUI Normal item
  • ACTIONS API
    • ⚙️How to make action
    • 📰Actions list
  • CONDITIONS API
    • 📐How to make condition
    • 📰Conditions types list
Powered by GitBook
On this page

Was this helpful?

  1. CONDITIONS API

Conditions types list

Here is list of all existing conditions types with examples

condition => condition format for usage description => description of the condition input => if checkbox is checked, input is required. output => if checkbox is checked, output is required.

condition
description
input
output

==

Something equals something

==Aa

Something equals something Case unsensitive...

>

input is larger than output Both must be a numbers

<

input is smaller than output Both must be a numbers

>=

input is larger or equal output Both must be a numbers

<=

input is smaller or equal output Both must be a numbers

has-permission

input is a permission and condition checks if player has that permission

gui-exist

input is a name of gui and condition checks if gui exist

gui-can-back

checks if player can go back in a gui

gui-can-forward

checks if player can go forward in a gui

is-sneaking

check if player is sneaking

is-op

check if player has op

is-in-water

check if player is in water

is-flying

check if player is flying

is-gliding

check if player is gliding with elytra

is-swimming

check if player is swimming

is-frozen

check if player is frozen

is-sleeping

check if player is sleaping

is-fly-allowed

check if player is allowed to fly

has-gamemode

check if player has a gamemode that is specified in the input

PreviousHow to make condition

Last updated 2 years ago

Was this helpful?

📰