OpenAudioMcSkript

OpenAudioMcSkript 1.0.2

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Contributors
Legoman99573, Mindgamesnl
Supported Minecraft Versions
  1. 1.10
  2. 1.11
  3. 1.12
OpenAudioMc Skript addon

Source code


OpenAudioMc has been abandoned, there will be no updates to this addon.

This is a Skript addon is designed to allow for full control over your OpenAudioMc plugin created by @Mindgamesnl


This addon allows you to play, stop, and modify multiple values of the OpenAudioMc plugin.

If you have any questions about the project or need help feel free to join the official OpenAudioMc discord: https://discordapp.com/invite/b44BPv7

The URL string accepts a raw sound file location or any soundcloud link.

You can check out the main Spigot page here: https://www.spigotmc.org/resources/openaudiomc-open-source-audio-client.30691/

You can check our website out here http://openaudiomc.net/

Event syntax are built into the OpenAudioMc plugin and can be found here: http://openaudiomc.net/documentation/skript.php

Syntax:

code_language.skript:
# Inject CSS for a player's web page
(add|inject) css %string% (for|of) [player[s]] %players%

# Inject javascript for a player's web page
(add|inject) (java[ ]script|js) %string% (for|of) [player[s]] %players%

# Play a URL track on repeat
play loop[ing] audio [from] URL %string% (to|for) [player[s]] %players%

# Make the audio go to a defined time span of the track
skip [audio] to [time[span]] %string% (for|of|in) [player[s]] %players% [(in|for|with)] [id] %string%

# Change the background of the web page
set audio [web[ ]page] back[ ]ground (for|from|of) [player[s]] %players% to [URL] %string%

# Reset the background
reset audio [web[ ]page] back[ ]ground (for|from|of) [player[s]] %players%

# Stop all sounds for a player if multiple were playing
stop all (sounds|audio) (for|from|of) [player[s]] %players%

# Play a URL or soundcloud link to a player, ID defines it to OpenAudioMc
play audio [from] URL %string% (to|for) [player[s]] %players% [and] [[with] [ID] %-string%]

# Stops music in a region
stop all [audio] in [the] region %string%

# Play audio in a region
play audio [from] URL %string% (to|for|in) region %string%

# Set the volume of player
set [audio] volume (to|for|of) [player[s]] %players% [[with] [ID] %-string%] to %number%

# Toogle the audio. Acts like a play or pause
toggle [audio] (for|of) [player[s]] %players% [with] [ID] %string%

# Stops audio
stop audio (for|from|of) [player[s]] %players% [[with] [ID] %-string%]
  • Like
Reactions: demirfurkan74
Author
LimeGlass
Downloads
1,413
Views
1,413
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from LimeGlass

Latest updates

  1. Fixes

    Fixed the plugin to work with the latest OpenAudioMc versions.
  2. Cleaned up

    Remade registering system and optimized alot

Latest reviews

Perfect ! I made a gui with it and it's simply perfect :)
Very good plugin LimeGlass, I admire you. :)
LimeGlass
LimeGlass
Thanks!