OtherDrops

226k Downloads

[Feature Request] More Control over Coordinates (/od drop and event:)

Noshire opened this issue ยท 4 comments

commented

This includes two mayor topics:

First Topic: /od drop
I love this command; it allows a great amount of mobspawns! I just wished there was a version of it that could be run by the console and be provided custom coordinates, something like:

/od drop 500 70 411 skeleton^bat

We could use this with CommandSigs and other plugins with similar functionality, wire it up to redstone in order to create every kind of hostile encounter we wand (or just spawn 50 bats in a dark cave for setting the mood).

Second Topic: events

For example, I'd like to make it so that if I leftclick holding an item called "Unstable Gunpowder", an explosion would trigger where the player is standing. I've tried to solve it using:

ANY:

  • action: LEFT_CLICK
    lorename: "&8Unstable Gunpowder"
    event: EXPLOSION
    consumetool: 1

this works, the problem is just that the explosion triggers at the first non-air block collision with the player's line of sight. So if I look at a mountain 500 blocks in the distance, the explosion would trigger there. I tried event.attacker, but that didn't work.
An optional parameter to define the coordinates at which the event is triggered (in case of events that don't need a PLAYER or LIVING_ENTITY) would be awesome!

commented

This includes two mayor topics:

...so why is it one ticket instead of two?

commented

Because it is the same functionality, just applied in two different cases. Since most topics tend to get merged, I thought I shouldn't open two threads about similar, if not identical, functionality. If you do think that it deserves two separate topics, however, I can do that!

commented

Added :) Examples:

  event: explosion@player/nobreak

And: /odd x y z <item> or /odd w:world x y z <item> (needed if from console) & /odd p:player <item> (also supports sending the command from the console & command blocks).

commented

You, Sir, are brillant. Thank you very much for adding this set of features, our server will make good use of them :)