rise

This page will go over the Rise API namespace.

registerModule(name, description): Module

ArgumentTypeDescription

name

String

Name of the module.

description

String

Description of the module.

Returns and registers a new Module with custom name and description.

setName(name): Undefined

ArgumentTypeDescription

name

String

New name of the client.

Renames the client to the new name.

getModules(): Module[]

Returns an array of every module.

getModule(name): Module

ArgumentTypeDescription

name

String

The name of the module.

Returns a module by name.

registerCommand(name, description): Command

ArgumentTypeDescription

name

String

Name of the command

description

String

Description of the command.

Returns and registers a new Command with custom name and description.

getCommands(): Command[]

Returns an array of every command.

getCommand(String name): Command

ArgumentTypeDescription

name

String

The name of the command.

Returns a command by name.

displayChat(String message): Undefined

ArgumentTypeDescription

message

String

Message to display.

Displays a message in chat.

getRiseName(): String

Returns the client name.

getRiseVersion(): String

Returns the client version.

getSystemMillis(): Number

Returns System.currentTimeMillis().

newVec2(x, y): Vector2

ArgumentTypeDescription

x

Number

X position

y

Number

Y position

Returns a new Vector2 with X and Y as points.

newVec3(x, y, z): Vector3

ArgumentTypeDescription

x

Number

X position

y

Number

Y position

z

Number

Z position

Returns a new Vector3 with X, Y, Z as points.

displayInfoNotification(title, message, time?): Undefined

ArgumentTypeDescription

title

String

Title of the notification.

message

String

Body/message of the notification.

time

Number | undefined

The amount of time to diplsay the notification for. This parameter is optional.

Displays a new Information notification.

pingspoof(delay, normal?, teleport?, velocity?, entity?): Undefined

ArgumentTypeDescription

delay

Number

The ping delay to use/spoof.

normal

Boolean | undefined

The ping spoof type to use. This parameter is optional.

teleport

Boolean | undefined

The ping spoof type to use. This parameter is optional.

velocity

Boolean | undefined

The ping spoof type to use. This parameter is optional.

entity

Boolean | undefined

The ping spoof type to use. This parameter is optional.

Spoofs the ping. The default mode is normal.

Blinks the player.

dispatch(): Undefined

Sends all delayed/blinked packets.

pingspoof(Number amount): Undefined

Delays packets for the amount (in ms).

getFPS(): Number

Gets FPS.

getPing(): Number

Gets ping to the current server.

isBot(Number entityID): Boolean

Returns true if the entity is detected by the antibot.

isFriend(String entityName): Boolean

Returns true if the entity is a friend.

getRotations(Vector3 positionToRotate): Number[]

Returns an array with the first result being the yaw, and the second being the pitch

getRotations(Number entityID): Number[]

Returns an array with the first result being the yaw, and the second being the pitch

threadPool(Function function): Undefined

Runs a function on the shared Rise ThreadPool, may interfere with other parts of the client if the code you run on it is slow.

thread(Function function): Undefined

Runs code on a new thread.

Last updated