#(DrGf) Tag for getting a list of Midis loaded on the server
36 messages · Page 1 of 1 (latest)
(DrGf) Tag for getting a list of Midis loaded on the server
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
!c Midi
world
midi [cancel/<file> (tempo:<#.#>) (volume:<#.#>)] (<location>/<entity>|...)
Plays a midi file at a given location or to a list of players using note block sounds.
This will fully load a midi song file stored in the '../plugins/Denizen/midi/' folder.
The file must be a valid midi file with the extension '.mid'.
It will continuously play the song as noteblock songs at the given location or group of players until the song ends.
If no location or entity is specified, by default this will play for the attached player.
Also, an example Midi song file has been included: "Denizen" by Black Coyote. He made it just for us!
Check out more of his amazing work at: ht...
!t Midi
Returns the humidity of this biome.
ElementTag(Decimal)
BiomeTag.humidity
# In a plains biome, this fills with '0.4'.
- narrate "Humidity in a plains biome is <biome[plains].humidity>! So humid!"
Well there's nothing ^
!t util.list_files
Returns a list of all files (and directories) in the specified directory. The starting path is /plugins/Denizen.
ListTag
^ you can probably just do that?
How come for schematics there's a tag to list loaded schematics, a tag to see loaded scripts, and I think a tag for loaded yaml files?
Are midis loaded? Or do you mean actively playing midis?
You drag and drop them into the folder then you do /ex midi file:<name> to play it. I don't know how it "loads" it precisely
Although there isn't a tag to see if a midi is playing for a player
And what that file is
I see, you'd have to manually keep track of it but it'd be nice to have a denizen tag of some sort.
I mean, all of these are things that actually get loaded, Midis just get read from the file once you play them iirc
As in, loaded schematics != all schematic files, loaded scripts != all scripts, etc.
But for midis it'd basically be that ^
Can we get a tag to know if a Midi is playing for a player and which Midi it is?
You can set a Server flag for the Midi you are playing, and put your midi command as waitable to remove the flag
Trickier if you have the song playing for multiple people at different start times right?
I notice the midi cancel also doesn't work if multiple midis are playing at the same time for you, even if you run the command several times. It only stops 1 midi, others will still play.
you need the exact Location where you start the Midi to get it cancelled
Even if it's played for a group of players as one of the parameters?
then its started on the position for the linked player
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@chrome prism