Commandblocks / Comandpermissions

    Joined
    Jan 26, 2014
    Messages
    229
    Reaction score
    114
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 3
    Hey Starmade Freaks,

    wouldnt it be cool to have a Commandblock?
    A Block where you could put in a command and hoo is permitted to use it.

    Example:
    I made a minigame and two rooms where the blue and the red team meets.
    in those rooms are Areatriggers connected with a command block.
    Now when someone enters the room his avatar gets the colour of the room.
    After the teams all entered theyre rooms they could go out of a nother exit and fight against
    each other in PVP.

    Another Example:
    Ive got a station that when you hold it it generates ores or shards over time.
    Other Factions could enter the station too and fight the enemy team.
    This works with a commandblock connected to area triggers.
    the commandblock is set to generate ores when someone enters the Station.
    when another Faction enters the station it stopps generating ores.
    But when there is only one Faction left in the station it starts generating ores again

    I could bring many other examples for the use of a commandblock with areatriggers.

    tell me if its a good suggestion

    Greez BiGEdge
     

    jayman38

    Precentor-Primus, pro-tempore
    Joined
    Jul 13, 2014
    Messages
    2,518
    Reaction score
    787
    • Purchased!
    • Thinking Positive
    • Legacy Citizen 4
    Yes, I agree with this and think it would open up a lot of great, creative admin/gamemaster opportunities. I also think it falls in line with Schema's general desire to have the game be wide open for player creativity.
     

    NeonSturm

    StormMaker
    Joined
    Dec 31, 2013
    Messages
    5,110
    Reaction score
    617
    • Wired for Logic
    • Thinking Positive
    • Legacy Citizen 5
    I always suggested string logic.

    Aka display blocks which contain text like:
    <type>commands
    default (mod "name" status)
    and (one connected "Display" contains .text)
    and (each connected "And" is 1)
    </type>
    everything > no text = true if not specified otherwise in <type>...</type>​

    <type>commands
    ...</type>
    enables commands after first line.​

    "Display" : searches for a match in the current scope returns {(type = SCOPE) (index = ID)}
    () : start an independent scope.

    and, or, contains, is : (A infix B) => Java.functions[ scope(or parent.scope...) ][ function ID ].infix(A, B)

    only : (_ op _) default, returns an error in logs if there are multiple and otherwise works as first.
    first, one, each : (_ op _) changes how multiple possible branches (multiple "Display") in this scope should be handled, affect all following branches, until mode is changed again or the scope ends.

    (default (x)) == x
     
    Last edited:
    Joined
    Jun 19, 2014
    Messages
    1,756
    Reaction score
    162
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen
    I'd actually suggested a command block a while back, but that got lost in the massive thread post I had.