rise
This page will go over the Rise API namespace.
registerModule(name, description): Module
registerModule(name, description): Modulename
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
setName(name): Undefinedname
String
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): Modulename
String
The name of the module.
Returns a module by name.
registerCommand(name, description): Command
registerCommand(name, description): Commandname
String
Name of the command
description
String
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): Commandname
String
The name of the command.
Returns a command by name.
displayChat(String message): Undefined
displayChat(String message): Undefinedmessage
String
Message to display.
Displays a message in chat.
getRiseName(): String
getRiseName(): StringReturns the client name.
getRiseVersion(): String
getRiseVersion(): StringReturns the client version.
getSystemMillis(): Number
getSystemMillis(): NumberReturns System.currentTimeMillis().
newVec2(x, y): Vector2
newVec2(x, y): Vector2x
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): Vector3x
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?): Undefinedtitle
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?): Undefineddelay
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(): UndefinedBlinks the player.
dispatch(): Undefined
dispatch(): UndefinedSends all delayed/blinked packets.
pingspoof(Number amount): Undefined
pingspoof(Number amount): UndefinedDelays packets for the amount (in ms).
getFPS(): Number
getFPS(): NumberGets FPS.
getPing(): Number
getPing(): NumberGets ping to the current server.
isBot(Number entityID): Boolean
isBot(Number entityID): BooleanReturns true if the entity is detected by the antibot.
isFriend(String entityName): Boolean
isFriend(String entityName): BooleanReturns 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): UndefinedRuns 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): UndefinedRuns code on a new thread.
Last updated