Skip to content

cobrapitz/LinuxLikeConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinuxLikeConsole (v3.0)

Linux Like Console written in gdscript for Godot (Game Engine)

For additional features or problems just write an issue or Discord cobrapitz#2872

Console

toggle with: key above tab


Features:

  • Auto completion / suggestion
  • Custom commands
  • (NEW) Custom Channels (Default only 'All' Channel)
  • Custom/built in themes (arch theme, ubuntu theme, windows, light, dark, text_only)
  • Built in commands like
    • man, tree, ls, cd, help, alias, setDock, clear, ...
  • Predefined and runtime forwarded parameters (runtime forwarding is prioritized)
  • Easy BBcode support (like: [b]this is bold[/b])
  • Logging
  • Dragable console
  • Slide in animation
  • User rights (to restrict the usage of developer only commands)
  • Additional Visual and Logging functions (warn, error, sucess )

How to create custom commands

#short version

onready var console = $Console

func _ready():
    var printThreeRef = CommandRef.new(self, "my_three_print", 3)
    var printThreeCommand = ConsoleCommand.new('printThree', printThreeRef , 'Custom print.')
    console.add_command(printThreeCommand )
    
    # Also possible style
   
    console.add_command(ConsoleCommand.new( \
        'printThree', \                                  # command  (like /printThree arg1 arg2 arg3)
        CommandRef.new(self, "my_three_print", 3) ,  \   # object with function name and arguments
        'Custom print.') ) \                             # description

# 3-arguments version (called with: /printVariant print this please)
func my_three_print(arg1, arg2, arg3):
    print("your args: %s %s %s" % [arg1, arg2, arg3]) 

Fully customizable

functions


About

Linux Like Console written in gdscript for Godot (Game Engine)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published