rise
This page will go over the Rise API namespace.
registerModule(name, description): Module
registerModule(name, description): Module
Argument | Type | Description |
---|---|---|
name |
| Name of the module. |
description |
| Description of the module. |
Returns and registers a new Module with custom name and description.
setName(name): Undefined
setName(name): Undefined
Argument | Type | Description |
---|---|---|
name |
| New name of the client. |
Renames the client to the new name
.
getModules(): Module[]
getModules(): Module[]
Returns an array of every module.
getModule(name): Module
getModule(name): Module
Argument | Type | Description |
---|---|---|
name |
| The name of the module. |
Returns a module by name.
registerCommand(name, description): Command
registerCommand(name, description): Command
Argument | Type | Description |
---|---|---|
name |
| Name of the command |
description |
| Description of the command. |
Returns and registers a new Command with custom name and description.
getCommands(): Command[]
getCommands(): Command[]
Returns an array of every command.
getCommand(String name): Command
getCommand(String name): Command
Argument | Type | Description |
---|---|---|
name |
| The name of the command. |
Returns a command by name.
displayChat(String message): Undefined
displayChat(String message): Undefined
Argument | Type | Description |
---|---|---|
message |
| Message to display. |
Displays a message in chat.
getRiseName(): String
getRiseName(): String
Returns the client name.
getRiseVersion(): String
getRiseVersion(): String
Returns the client version.
getSystemMillis(): Number
getSystemMillis(): Number
Returns System.currentTimeMillis()
.
newVec2(x, y): Vector2
newVec2(x, y): Vector2
Argument | Type | Description |
---|---|---|
x | Number | X position |
y | Number | Y position |
Returns a new Vector2 with X and Y as points.
newVec3(x, y, z): Vector3
newVec3(x, y, z): Vector3
Argument | Type | Description |
---|---|---|
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
displayInfoNotification(title, message, time?): Undefined
Argument | Type | Description |
---|---|---|
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
pingspoof(delay, normal?, teleport?, velocity?, entity?): Undefined
Argument | Type | Description |
---|---|---|
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
.
blink(): Undefined
blink(): Undefined
Blinks the player.
dispatch(): Undefined
dispatch(): Undefined
Sends all delayed/blinked packets.
pingspoof(Number amount): Undefined
pingspoof(Number amount): Undefined
Delays packets for the amount (in ms).
getFPS(): Number
getFPS(): Number
Gets FPS.
getPing(): Number
getPing(): Number
Gets ping to the current server.
isBot(Number entityID): Boolean
isBot(Number entityID): Boolean
Returns true if the entity is detected by the antibot.
isFriend(String entityName): Boolean
isFriend(String entityName): Boolean
Returns true if the entity is a friend.
getRotations(Vector3 positionToRotate): Number[]
getRotations(Vector3 positionToRotate): Number[]
Returns an array with the first result being the yaw, and the second being the pitch
getRotations(Number entityID): Number[]
getRotations(Number entityID): Number[]
Returns an array with the first result being the yaw, and the second being the pitch
threadPool(Function function): Undefined
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
thread(Function function): Undefined
Runs code on a new thread.
Last updated