Comments (3)
Note: The simulator currently has a single sandbox
for the plugin; this will need extending, so that separate plugins don't overwrite each other's globals.
from cuberitepluginchecker.
Can't we create a new Simulator for each plugin? Also, we could even make it so cPluginManager:CallPlugin
works :)
from cuberitepluginchecker.
The Simulator contains everything - hook registrations, command handlers, worlds, players etc., so it'd be easier to have multiple sandbox
es in a single Simulator. And yes, making cPluginManager:CallPlugin()
work is the main intent of this issue.
I see it as low priority, though. First we want to be able to test plugins as best as we can.
from cuberitepluginchecker.
Related Issues (20)
- Add scenario support for FS operations
- Add custom implementation for all ForEach and DoWith methods
- Use a queue for callbacks
- Implement intelligent command fuzzing HOT 2
- Improve "stored value" reporting
- Add support for testing console commands
- lua: APIImpl/File.lua:48: attempt to index global 'utils' (a nil value) HOT 4
- Scenario: Support file location relative to scenario folder HOT 2
- Add luacheck in CI HOT 4
- Add testcase definitions HOT 1
- Scenario: Add player actions
- Fix plugin path bug
- Using cPlayer:GetWorld() crashes the checker
- Cannot specify implementation for a static function HOT 1
- Paths to API-zips are broken in README.md HOT 2
- Add support for cosntructors and operators
- Add webadmin testing
- Use in CI for an existing plugin and document such usage
- Provide AutoAPI and ManualAPI at the official Cuberite buildserver HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuberitepluginchecker.