Plugin : Token

Author:Rex.Rainbow

Download

Properties

Player ID list

  • Player ID. Seprate by","

Initial index

  • Initial index, 0 base. The next index of (-1) is 0.

Order

  • Order of transfering player index.
    • Options : ["Increasing","Decreasing"]

Actions

ID

Action:Set list

  • Set ID list.
    • ID ( string ) : Player ID string

Action:Append

  • Append ID to list.
    • ID ( number or string ) : Player ID

Action:Remove

  • Remove ID from list.
    • ID ( number or string ) : Player ID

Action:Switch

  • Switch ID.
    • A ( number or string ) : Player ID
    • B ( number or string ) : Player ID

Action:Clean list

  • Clean ID list.

Index

Action:Next

  • Turn to next player.

Action:Next random

  • Turn to next random player.

Action:Previous

  • Turn to previous player.

Order

Action:Reverse

  • Reverse token order.

Action:Set next index

  • Set next player index.
    • Index ( number ) : Player index (0-based)

Action:Turn off

  • Turn off token.

Action:Set next ID

  • Set next player ID.
    • ID ( number or string ) : Player ID

Setup

Action:Set random generator

  • Set random generator object.
    • Random generator ( object ) : Random generator object

Expressions

ID

Expression:CurrID

  • Get current player ID.

Expression:PreID

  • Get previous player ID.

Index

Expression:CurrIndex

  • Get current player index.

Expression:PreIndex

  • Get previous player index.

List

Expression:ListLength

  • Get ID list length.

Expression:List2String

  • Get ID list in string fromat.

Look up

Expression:Index2ID

  • Get player ID by player index.
    • Index ( number ) : Player index.

Expression:ID2Index

  • Get player index by player ID.
    • ID ( string ) : Player ID.

Conditions

ID

Condition:Compare current ID

  • Compare current ID.
    • ID ( number or string ) : Player ID

Index

Condition:First index

  • Testing if current index is first.

Condition:Last index

  • Testing if current index is the last.

Condition:On player changing

  • Triggered when player changing by "Action:Next".