CloudAPI - Your All In One API Solution icon

CloudAPI - Your All In One API Solution -----

All in one API with frequent updates



CloudAPI is a powerful and flexible API designed to simplify plugin development and enhance server functionality in Minecraft. This documentation covers the current features and usage of CloudAPI, with more features to be added every week. Support is available exclusively through our Discord server.

Features and Usage
1. Text Gradient
Easily apply gradient effects to your text, enabling smooth transitions between colors.

Method:
Code (Java):
String gradientText = TextGradient. applyGradient ( String text, String colorStart, String colorEnd ) ;
 
Example:
Code (Java):
String gradientText = TextGradient. applyGradient ( "Hello, World!", "#FF0000", "#0000FF" ) ;
player. sendMessage (gradientText ) ;
 
2. Text Formatting
Apply various text styles like bold, italic, and underlined text.

Methods:
Code (Java):
String boldText = TextFormatter. bold ( String text ) ;
String italicText = TextFormatter. italic ( String text ) ;
 
Example:
Code (Java):
String boldText = TextFormatter. bold ( "Bold Text" ) ;
player. sendMessage (boldText ) ;
 
3. Color Codes
Integrate Minecraft color codes into your text strings effortlessly.

Method:
Code (Java):
String coloredText = ColorUtil. translateColorCodes ( String text ) ;
 
Example:
Code (Java):
String coloredText = ColorUtil. translateColorCodes ( "&aGreen Text" ) ;
player. sendMessage (coloredText ) ;
 
4. Placeholders
Manage and replace placeholders dynamically within your messages.

Methods:
Code (Java):
PlaceholderManager. registerPlaceholder ( String placeholder, String value ) ;
String message = PlaceholderManager. replacePlaceholders ( String message ) ;
 
Example:
Code (Java):
PlaceholderManager. registerPlaceholder ( "%player_name%", player. getName ( ) ) ;
String message = PlaceholderManager. replacePlaceholders ( "Welcome, %player_name%!" ) ;
player. sendMessage (message ) ;
 

5. Boss Bar

Create and control boss bars to display progress, status updates, or other information.

Method:

Code (Java):
BossBarUtil. showBossBar (Player player, String title, double progress ) ;
 
Example:
Code (Java):
BossBarUtil. showBossBar (player, "Boss Bar Title", 1.0 ) ;

 
6. Action Bar
Send action bar messages to players for non-intrusive notifications.

Method:
Code (Java):
ActionBarUtil. sendActionBar (Player player, String message ) ;

 
Example:
Code (Java):
ActionBarUtil. sendActionBar (player, "Action Bar Message" ) ;

 
7. Text Shadow
Add shadows to your text to improve readability and create visual depth.

Method:
Code (Java):
TextShadowUtil. applyShadow (Player player, String text, String shadowColor, String textColor ) ;

 
Example:
Code (Java):
TextShadowUtil. applyShadow (player, "Shadow Text", "#000000", "#FFFFFF" ) ;

 
8. Text Animation
Animate your text with customizable delays and effects.

Method:
Code (Java):
TextAnimationUtil. sendAnimatedText (Player player, String text, int delay ) ;

 
Example:
TextAnimationUtil.sendAnimatedText(player, "Animated Text", 100);

9. Chat Channels
Manage chat channels, allowing players to join or leave specific chat groups.

Methods:
Code (Java):
ChatChannelUtil. joinChannel (Player player ) ;

ChatChannelUtil. leaveChannel (Player player ) ;
 
Example:
Code (Java):
ChatChannelUtil. joinChannel (player ) ;

ChatChannelUtil. leaveChannel (player ) ;
 
10. Message Queue
Queue messages for sequential delivery, ensuring smooth communication flow.

Method:

Code (Java):
MessageQueueUtil. queueMessage (Player player, String message ) ;
 
Example:
Code (Java):
MessageQueueUtil. queueMessage (player, "Queued Message" ) ;

 
11. Word Filter
Filter out specific words or phrases to maintain a clean chat environment.

Method:
Code (Java):
String filteredMessage = WordFilterUtil. filterWords ( String message ) ;

 
Example:
Code (Java):
String filteredMessage = WordFilterUtil. filterWords ( "This is a badword message." ) ;

player. sendMessage (filteredMessage ) ;
 
12. Link Filter
Automatically filter URLs and links from messages to prevent spam.

Method:
Code (Java):
String linkFilteredMessage = LinkFilterUtil. filterLinks ( String message ) ;

 
Example:
Code (Java):
String linkFilteredMessage = LinkFilterUtil. filterLinks ( "Check this out: https://example.com" ) ;

player. sendMessage (linkFilteredMessage ) ;
 

  1. Title Messages
    Send title and subtitle messages to players for a more immersive experience.
Method:
Code (Java):
TitleMessageUtil. sendTitle (Player player, String title, String subtitle, int fadeIn, int stay, int fadeOut ) ;
Example:
Code (Java):
TitleMessageUtil. sendTitle (player, "Welcome", "Enjoy your stay!", 10, 70, 20 ) ;
  1. Custom Scoreboards
    Create and manage custom scoreboards to display player stats and other information.
Method:
Code (Java):
CustomScoreboardUtil. createScoreboard (Player player, String title, String... lines ) ;
Example:
Code (Java):
String [ ] lines = { "Line 1", "Line 2", "Line 3" } ;
CustomScoreboardUtil. createScoreboard (player, "Scoreboard Title", lines ) ;
  1. Particles
    Spawn particle effects at specific locations to enhance visual feedback in your plugins.
Method:
Code (Java):
Location particleLocation = player. getLocation ( ). add ( 0, 2, 0 ) ;
player. getWorld ( ). spawnParticle (Particle. HEART, particleLocation, 10 ) ;
Example:
Code (Java):
Location particleLocation = player. getLocation ( ). add ( 0, 2, 0 ) ;
player. getWorld ( ). spawnParticle (Particle. HEART, particleLocation, 10 ) ;
  1. Holograms
    Create and display holograms at specific locations, which can be seen by players.
Method:
Code (Java):
Location hologramLocation = player. getLocation ( ). add ( 0, 2, 0 ) ;
Hologram hologram = new Hologram (hologramLocation, "Hologram Text" ) ;
hologram. show (player ) ;
Example:
Code (Java):
Location hologramLocation = player. getLocation ( ). add ( 0, 2, 0 ) ;
Hologram hologram = new Hologram (hologramLocation, "Hologram Text" ) ;
hologram. show (player ) ;
  1. Sounds
    Play custom sounds to players to enhance their experience.
Method:
Code (Java):
player. playSound (player. getLocation ( ), Sound. ENTITY_EXPERIENCE_ORB_PICKUP, 1.0f, 1.0f ) ;
Example:
Code (Java):
player. playSound (player. getLocation ( ), Sound. ENTITY_EXPERIENCE_ORB_PICKUP, 1.0f, 1.0f ) ;

Installation
To integrate CloudAPI into your own plugin:

  1. Download the JAR File: Obtain the latest version of CloudAPI from the download link listed above.
  2. Add to Your Project: Include CloudAPI as a dependency in your project’s pom.xml or build.gradle file.
  3. Reference CloudAPI: Use the provided classes and methods in your plugin code to leverage CloudAPI’s functionality.
Support
For support or to report issues, please join our Discord server. Our team and community are there to help you with any questions or problems you may encounter.

We are excited to see what you create with CloudAPI! Stay tuned for weekly updates that will continue to expand and enhance the capabilities of this powerful API.
Resource Information
Author:
----------
Total Downloads: 54
First Release: Jul 24, 2024
Last Update: Jul 25, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings